Skip to content

Commit

Permalink
refactor(user): [PPT-1484] clear old data
Browse files Browse the repository at this point in the history
  • Loading branch information
chillfox committed Aug 29, 2024
1 parent 9b6f026 commit e9edfd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 115 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- +micrate Up
-- SQL in section 'Up' is executed when this migration is applied

-- Clear out the work preferences and overrides for all users
UPDATE "user" SET work_preferences = '[]'::jsonb;
UPDATE "user" SET work_overrides = '{}'::jsonb;

-- +micrate Down
-- SQL section 'Down' is executed when this migration is rolled back

-- Clear out the work preferences and overrides for all users
UPDATE "user" SET work_preferences = '[]'::jsonb
UPDATE "user" SET work_overrides = '{}'::jsonb;

0 comments on commit e9edfd3

Please sign in to comment.