create table if not exists playlists ( id varchar(24) default nanoid(24), name varchar(255) not null, public bool default false, creator_id varchar(24) not null, created_at timestamp default now() not null, updated_at timestamp, primary key (id), foreign key (creator_id) references users (id) on delete cascade );