Skip to content

Commit

Permalink
fix(be): update sql query
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jul 7, 2023
1 parent 026e5a9 commit f615706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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';

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

ALTER TABLE project__user DROP COLUMN `admin`;

0 comments on commit f615706

Please sign in to comment.