create table if not exists threads ( id serial primary key, board_id serial references boards(id) on delete cascade, t_title text, t_content text );