Skip to content

Commit

Permalink
fix(be): sql migration issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jul 7, 2023
1 parent 49a06d5 commit 026e5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/sql/migrations/v2.8.91.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ALTER TABLE project__user ADD `role` varchar NOT NULL DEFAULT "task_runner";
ALTER TABLE project__user ADD `role` varchar NOT NULL DEFAULT 'task_runner';

UPDATE project__user SET `role` = "owner" WHEN `admin`;
UPDATE project__user SET `role` = 'owner' WHEN `admin`;

ALTER TABLE project__user DROP COLUMN `admin`;

0 comments on commit 026e5a9

Please sign in to comment.