From 61e43b0da2145e8e6f1fe6ca8c3f9cedeb37ea4e Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Sat, 8 Jul 2023 00:06:43 +0200 Subject: [PATCH] fix(be): specify varchat max length --- db/sql/migrations/v2.8.91.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/sql/migrations/v2.8.91.sql b/db/sql/migrations/v2.8.91.sql index 6526f0b1..95b0278e 100644 --- a/db/sql/migrations/v2.8.91.sql +++ b/db/sql/migrations/v2.8.91.sql @@ -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`;