add digest_config column to the user_personalization table

This commit is contained in:
Hongbo Wu
2024-05-03 11:12:19 +08:00
parent 2e4833d68c
commit 6592ac6a86
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-- Type: DO
-- Name: add_digest_config_to_user_personalization
-- Description: Add digest_config json column to the user_personalization table
BEGIN;
ALTER TABLE omnivore.user_personalization ADD COLUMN digest_config jsonb;
COMMIT;

View File

@ -0,0 +1,9 @@
-- Type: UNDO
-- Name: add_digest_config_to_user_personalization
-- Description: Add digest_config json column to the user_personalization table
BEGIN;
ALTER TABLE omnivore.user_personalization DROP COLUMN digest_config;
COMMIT;