diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 416e0c513..675e8866d 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -320,7 +320,7 @@ CREATE TABLE `Monitors` ( `Enabled` tinyint(3) unsigned NOT NULL default '1', `LinkedMonitors` varchar(255) NOT NULL default '', `Triggers` set('X10') NOT NULL default '', - `Device` varchar(64) NOT NULL default '', + `Device` tinytext NOT NULL default '', `Channel` tinyint(3) unsigned NOT NULL default '0', `Format` int(10) unsigned NOT NULL default '0', `V4LMultiBuffer` tinyint(1) unsigned, diff --git a/db/zm_update-1.28.1.sql b/db/zm_update-1.28.1.sql new file mode 100644 index 000000000..b7204905e --- /dev/null +++ b/db/zm_update-1.28.1.sql @@ -0,0 +1 @@ +ALTER TABLE Monitors MODIFY Device tinytext;