create table if not exists notify ( id bigserial primary key, user_uuid uuid not null, title varchar(255) not null, description text, content text not null, url varchar(255), kind integer not null, read_at timestamp with time zone, deleted_at timestamp with time zone, created_at timestamp with time zone not null ); create index if not exists idx_notify_user on notify (user_uuid); create index if not exists idx_notify_created_at on notify (created_at);