ALTER TABLE alerts ADD COLUMN archived_at INTEGER; CREATE INDEX alerts_archived_at_idx ON alerts(archived_at);