Code: Select all
) ENGINE=@ZM_MYSQL_ENGINE@;
Code: Select all
DROP TABLE IF EXISTS `Config`;
CREATE TABLE `Config` (
`Id` smallint(5) unsigned NOT NULL default '0',
`Name` varchar(32) NOT NULL default '',
`Value` text NOT NULL,
`Type` tinytext NOT NULL,
`DefaultValue` tinytext,
`Hint` tinytext,
`Pattern` tinytext,
`Format` tinytext,
`Prompt` tinytext,
`Help` text,
`Category` varchar(32) NOT NULL default '',
`Readonly` tinyint(3) unsigned NOT NULL default '0',
`Requires` text,
PRIMARY KEY (`Name`)
) ENGINE=@ZM_MYSQL_ENGINE@;
--
-- Table structure for table `ControlPresets`
--
DROP TABLE IF EXISTS `ControlPresets`;
CREATE TABLE `ControlPresets` (
`MonitorId` int(10) unsigned NOT NULL default '0',
`Preset` int(10) unsigned NOT NULL default '0',
`Label` varchar(64) NOT NULL default '',
PRIMARY KEY (`MonitorId`,`Preset`)
) ENGINE=@ZM_MYSQL_ENGINE@;