···573573 name text unique
574574 );
575575576576+ create table if not exists punchcard_preferences (
577577+ id integer primary key autoincrement,
578578+ user_did text not null unique,
579579+ hide_mine integer default 0,
580580+ hide_others integer default 0
581581+ );
582582+576583 -- indexes for better performance
577584 create index if not exists idx_notifications_recipient_created on notifications(recipient_did, created desc);
578585 create index if not exists idx_notifications_recipient_read on notifications(recipient_did, read);