-- Privacy-first TTL support for posts -- default_post_ttl is in hours; NULL means keep forever. alter table if exists user_settings add column if not exists default_post_ttl integer; alter table if exists posts add column if not exists expires_at timestamptz; create index if not exists posts_expires_at_idx on posts (expires_at);