mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
15 lines
362 B
PL/PgSQL
Executable file
15 lines
362 B
PL/PgSQL
Executable file
-- Type: UNDO
|
|
-- Name: add_position_to_labels
|
|
-- Description: Add position column to labels table
|
|
|
|
BEGIN;
|
|
|
|
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;
|
|
|
|
ALTER TABLE omnivore.labels DROP COLUMN IF EXISTS position;
|
|
|
|
COMMIT;
|