update category in filters table from Search to inbox
This commit is contained in:
9
packages/db/migrations/0147.do.update_category_in_filters.sql
Executable file
9
packages/db/migrations/0147.do.update_category_in_filters.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: DO
|
||||
-- Name: update_category_in_filters
|
||||
-- Description: Update category column in filters table
|
||||
|
||||
BEGIN;
|
||||
|
||||
UPDATE omnivore.filters SET category = 'inbox' WHERE category = 'Search';
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0147.undo.update_category_in_filters.sql
Executable file
9
packages/db/migrations/0147.undo.update_category_in_filters.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: UNDO
|
||||
-- Name: update_category_in_filters
|
||||
-- Description: Update category column in filters table
|
||||
|
||||
BEGIN;
|
||||
|
||||
UPDATE omnivore.filters SET category = 'Search' WHERE category = 'inbox';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user