-- Reverses 046_cross_cutting_triggers.

DELETE FROM paliad.event_deadlines WHERE id BETWEEN 200 AND 206;
DELETE FROM paliad.trigger_events  WHERE id BETWEEN 200 AND 206;

DELETE FROM paliad.deadline_concepts
 WHERE slug IN ('versaeumnisurteil-einspruch','schriftsatznachreichung','weiterbehandlung')
   AND id NOT IN (SELECT concept_id FROM paliad.deadline_rules WHERE concept_id IS NOT NULL);
