add fields column of type:json to the user_personalization table
This commit is contained in:
9
packages/db/migrations/0145.do.add_fields_to_user_personalization.sql
Executable file
9
packages/db/migrations/0145.do.add_fields_to_user_personalization.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: DO
|
||||
-- Name: add_fields_to_user_personalization
|
||||
-- Description: Add fields column to the user_personalization table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.user_personalization ADD COLUMN fields json;
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0145.undo.add_fields_to_user_personalization.sql
Executable file
9
packages/db/migrations/0145.undo.add_fields_to_user_personalization.sql
Executable file
@ -0,0 +1,9 @@
|
||||
-- Type: UNDO
|
||||
-- Name: add_fields_to_user_personalization
|
||||
-- Description: Add fields column to the user_personalization table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.user_personalization DROP COLUMN fields;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user