TEXT cannot have a default value

This commit is contained in:
Isaac Connor 2017-10-04 22:22:28 -04:00
parent b2426321b0
commit 20087e69e6
2 changed files with 2 additions and 2 deletions

View File

@ -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@;

View File

@ -1 +1 @@
ALTER TABLE Groups MODIFY `MonitorIds` text NOT NULL default '';
ALTER TABLE Groups MODIFY `MonitorIds` text NOT NULL;