mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add migrations
This commit is contained in:
parent
7cce65eda9
commit
dc6f5521dc
2 changed files with 18 additions and 0 deletions
9
packages/db/migrations/0180.do.add_shortcuts_to_user_personalization.sql
Executable file
9
packages/db/migrations/0180.do.add_shortcuts_to_user_personalization.sql
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: DO
|
||||
-- Name: add_shortcuts_to_user_personalization
|
||||
-- Description: Add a new shortcuts column to the user personalization table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.user_personalization ADD COLUMN shortcuts JSONB NULL;
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: UNDO
|
||||
-- Name: add_shortcuts_to_user_personalization
|
||||
-- Description: Add a new shortcuts column to the user personalization table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.user_personalization DROP COLUMN shortcuts ;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in a new issue