create table if not exists listening_exams (
id text primary key,
family_code text not null,
title text not null,
created_at bigint not null,
source_type text,
payload jsonb not null
);
create table if not exists listening_shares (
code text primary key,
title text not null,
created_at bigint not null,
payload jsonb not null
);