create table if not exists user_notification ( "user" uuid not null primary key, email_enabled boolean default false not null, in_app_enabled boolean default true not null, push_enabled boolean default false not null, digest_mode varchar(255) not null, dnd_enabled boolean default false not null, dnd_start_minute integer, dnd_end_minute integer, marketing_enabled boolean default true not null, security_enabled boolean default true not null, product_enabled boolean default true not null, created_at timestamp with time zone not null, updated_at timestamp with time zone not null, push_subscription_endpoint text, push_subscription_keys_p256dh text, push_subscription_keys_auth text );