ALTER TABLE anh_reports
    ADD COLUMN IF NOT EXISTS object_key TEXT,
    ADD COLUMN IF NOT EXISTS sealed_at TIMESTAMPTZ,
    ADD COLUMN IF NOT EXISTS content_type TEXT;

CREATE UNIQUE INDEX IF NOT EXISTS idx_anh_reports_object_key_unique
    ON anh_reports (object_key)
    WHERE object_key IS NOT NULL;
