From 20087e69e66e81f14bd678f18afae9c4f78b0f66 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 4 Oct 2017 22:22:28 -0400 Subject: [PATCH] TEXT cannot have a default value --- db/zm_create.sql.in | 2 +- db/zm_update-1.31.7.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 654c45ad4..6e6f127c3 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -265,7 +265,7 @@ CREATE TABLE `Groups` ( `Id` int(10) unsigned NOT NULL auto_increment, `Name` varchar(64) NOT NULL default '', `ParentId` int(10) unsigned, - `MonitorIds` text NOT NULL default '', + `MonitorIds` text NOT NULL, PRIMARY KEY (`Id`) ) ENGINE=@ZM_MYSQL_ENGINE@; diff --git a/db/zm_update-1.31.7.sql b/db/zm_update-1.31.7.sql index 5c64bd17b..6634caf5f 100644 --- a/db/zm_update-1.31.7.sql +++ b/db/zm_update-1.31.7.sql @@ -1 +1 @@ -ALTER TABLE Groups MODIFY `MonitorIds` text NOT NULL default ''; +ALTER TABLE Groups MODIFY `MonitorIds` text NOT NULL;