-- Reverse of mig 114 — t-paliad-225 / m/paliad#61 Slice A.

ALTER TABLE paliad.checklist_instances
    DROP COLUMN IF EXISTS template_snapshot;

DROP POLICY IF EXISTS checklists_delete ON paliad.checklists;
DROP POLICY IF EXISTS checklists_update ON paliad.checklists;
DROP POLICY IF EXISTS checklists_insert ON paliad.checklists;
DROP POLICY IF EXISTS checklists_select ON paliad.checklists;

DROP FUNCTION IF EXISTS paliad.can_see_checklist(uuid, uuid);

DROP TABLE IF EXISTS paliad.checklists;
