-- 041: Track RMD removal status directly on fcc_rmd records
-- When a provider disappears from the RMD CSV, we mark them as removed
-- rather than deleting the record. This way we can still look them up
-- by FRN and tell them their RMD filing is missing.

ALTER TABLE fcc_rmd
    ADD COLUMN IF NOT EXISTS removed_from_rmd BOOLEAN DEFAULT FALSE,
    ADD COLUMN IF NOT EXISTS removed_at TIMESTAMPTZ,
    ADD COLUMN IF NOT EXISTS last_seen_in_csv TIMESTAMPTZ;
