mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
update category in filters table from Search to inbox
This commit is contained in:
parent
8ccf37dbb0
commit
3327334bf6
2 changed files with 18 additions and 0 deletions
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;
|
||||
Loading…
Reference in a new issue