-- Migration 094: Add deferred_until to sag_sager
-- Dato: 3. februar 2026

ALTER TABLE sag_sager
    ADD COLUMN IF NOT EXISTS deferred_until TIMESTAMP;

CREATE INDEX IF NOT EXISTS idx_sag_sager_deferred_until
    ON sag_sager(deferred_until)
    WHERE deleted_at IS NULL;
