fix(be): specify varchat max length

This commit is contained in:
Denis Gukov 2023-07-08 00:06:43 +02:00
parent 83b00afc09
commit 61e43b0da2

View File

@ -1,4 +1,4 @@
ALTER TABLE project__user ADD `role` varchar NOT NULL DEFAULT 'task_runner'; ALTER TABLE project__user ADD `role` varchar(50) NOT NULL DEFAULT 'task_runner';
UPDATE project__user SET `role` = 'owner' WHERE `admin`; UPDATE project__user SET `role` = 'owner' WHERE `admin`;