Files
omnivore/packages/db/migrations/0059.undo.add_status_to_reminders.sql
2022-02-11 09:24:33 -08:00

16 lines
324 B
PL/PgSQL
Executable File

-- Type: UNDO
-- Name: add_status_to_reminders
-- Description: Add status, created_at, updated_at fields to the reminders table
BEGIN;
DROP TRIGGER reminders_modtime ON omnivore.reminders;
DROP TYPE reminder_status CASCADE;
ALTER TABLE omnivore.reminders
DROP COLUMN created_at,
DROP COLUMN updated_at;
COMMIT;