diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index d4efb5317..c9b2b6ea1 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -434,7 +434,7 @@ DROP TABLE IF EXISTS `Monitors`; CREATE TABLE `Monitors` ( `Id` int(10) unsigned NOT NULL auto_increment, `Name` varchar(64) NOT NULL default '', - `Notes` TEXT NOT NULL default '', + `Notes` TEXT, `ServerId` int(10) unsigned, `StorageId` smallint(5) unsigned default 0, `Type` enum('Local','Remote','File','Ffmpeg','Libvlc','cURL','WebSite','NVSocket') NOT NULL default 'Local', diff --git a/db/zm_update-1.33.16.sql b/db/zm_update-1.33.16.sql index aacfd9425..87058e3f8 100644 --- a/db/zm_update-1.33.16.sql +++ b/db/zm_update-1.33.16.sql @@ -5,7 +5,7 @@ SET @s = (SELECT IF( AND column_name = 'Notes' ) > 0, "SELECT 'Column Notes already exists in Monitors'", - "ALTER TABLE `Monitors` ADD `Notes` TEXT NOT NULL default '' AFTER `Name`" + "ALTER TABLE `Monitors` ADD `Notes` TEXT AFTER `Name`" )); PREPARE stmt FROM @s;