Fix SQL error 'key specification without a key length' when updating the database
This commit is contained in:
parent
c7fb522563
commit
3a51926954
|
@ -528,7 +528,7 @@ CREATE TABLE `PluginsConfig` (
|
|||
`Max` int(10) unsigned NULL default NULL,
|
||||
`MonitorId` int(10) unsigned NOT NULL,
|
||||
`ZoneId` int(10) unsigned NOT NULL,
|
||||
`pluginName` tinytext NOT NULL,
|
||||
`pluginName` varchar(64) NOT NULL,
|
||||
PRIMARY KEY (`Id`),
|
||||
KEY `ZoneId` (`ZoneId`),
|
||||
KEY `MonitorId` (`MonitorId`),
|
||||
|
|
|
@ -16,7 +16,7 @@ CREATE TABLE `PluginsConfig` (
|
|||
`Max` int(10) unsigned NULL default NULL,
|
||||
`MonitorId` int(10) unsigned NOT NULL,
|
||||
`ZoneId` int(10) unsigned NOT NULL,
|
||||
`pluginName` tinytext NOT NULL,
|
||||
`pluginName` varchar(64) NOT NULL,
|
||||
PRIMARY KEY (`Id`),
|
||||
KEY `ZoneId` (`ZoneId`),
|
||||
KEY `MonitorId` (`MonitorId`),
|
||||
|
|
Loading…
Reference in New Issue