Semaphore/db/sql/migrations/v2.8.91.sql
2023-07-22 22:47:12 +02:00

5 lines
182 B
SQL

ALTER TABLE project__user ADD `role` varchar(50) NOT NULL DEFAULT 'manager';
UPDATE project__user SET `role` = 'owner' WHERE `admin`;
ALTER TABLE project__user DROP COLUMN `admin`;