alter the type of Device in the Monitors table to tinytext, which matches the MonitorPresets table, and increases the length to 255

This commit is contained in:
Isaac Connor 2014-12-10 16:56:22 -05:00
parent 48f4d7eb93
commit ed61d2b925
2 changed files with 2 additions and 1 deletions

View File

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

1
db/zm_update-1.28.1.sql Normal file
View File

@ -0,0 +1 @@
ALTER TABLE Monitors MODIFY Device tinytext;