From d64f968b9012087e32af54063bb79a347beee657 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 28 Jul 2022 21:51:10 +0800 Subject: [PATCH] remove trigger and function in down migration --- packages/db/migrations/0090.undo.add_position_to_labels.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/db/migrations/0090.undo.add_position_to_labels.sql b/packages/db/migrations/0090.undo.add_position_to_labels.sql index b36cefa33..b7139e856 100755 --- a/packages/db/migrations/0090.undo.add_position_to_labels.sql +++ b/packages/db/migrations/0090.undo.add_position_to_labels.sql @@ -4,7 +4,9 @@ BEGIN; -DROP TRIGGER IF EXISTS update_label_position ON omnivore.labels; +DROP TRIGGER IF EXISTS increment_label_position ON omnivore.labels; + +DROP TRIGGER IF EXISTS decrement_label_position ON omnivore.labels; DROP FUNCTION IF EXISTS update_label_position;