mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(be): update sql query
This commit is contained in:
parent
026e5a910b
commit
07b908f1ef
@ -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' WHERE `admin`;
|
||||
|
||||
ALTER TABLE project__user DROP COLUMN `admin`;
|
Loading…
Reference in New Issue
Block a user