-- SQLite: add columns (IF NOT EXISTS per column not supported — use new table copy if needed). -- pragma: skip if columns exist — simplest: ALTER TABLE ADD COLUMN (SQLite allows multiple ADD). ALTER TABLE bgp_speaker ADD COLUMN published_revision_id TEXT REFERENCES config_revision (id) ON DELETE SET NULL; ALTER TABLE bgp_speaker ADD COLUMN published_at TEXT;