-- Reverses 036_event_deadlines_notes_en. Restores the original English
-- notes for rows 50/52/70 from notes_en, then drops the column.

UPDATE paliad.event_deadlines SET notes = CASE id
    WHEN 50 THEN 'Or 20 Working days, whichever is longer'
    WHEN 52 THEN 'Or 20 Working days, whichever is longer'
    WHEN 70 THEN 'The 262.2 application can also be filed for opponent submissions to protect confidential information disclosed by the opponent.'
    ELSE notes
END
WHERE id IN (50, 52, 70);

ALTER TABLE paliad.event_deadlines
    DROP COLUMN IF EXISTS notes_en;
