Semaphore/db/sql/migrations/v2.8.91.sql

5 lines
182 B
MySQL
Raw Normal View History

ALTER TABLE project__user ADD `role` varchar(50) NOT NULL DEFAULT 'manager';
2023-07-07 23:37:41 +02:00
UPDATE project__user SET `role` = 'owner' WHERE `admin`;
ALTER TABLE project__user DROP COLUMN `admin`;