Merge pull request #1734 from connortechnology/fix_1720

Fix 1720
This commit is contained in:
Andrew Bauer 2017-01-23 20:35:10 -06:00 committed by GitHub
commit af728388d0
3 changed files with 7 additions and 2 deletions

View File

@ -477,7 +477,7 @@ CREATE TABLE `Users` (
`Devices` enum('None','View','Edit') NOT NULL default 'None', `Devices` enum('None','View','Edit') NOT NULL default 'None',
`System` enum('None','View','Edit') NOT NULL default 'None', `System` enum('None','View','Edit') NOT NULL default 'None',
`MaxBandwidth` varchar(16) NOT NULL default '', `MaxBandwidth` varchar(16) NOT NULL default '',
`MonitorIds` tinytext NOT NULL, `MonitorIds` text NOT NULL,
PRIMARY KEY (`Id`), PRIMARY KEY (`Id`),
UNIQUE KEY `UC_Username` (`Username`) UNIQUE KEY `UC_Username` (`Username`)
) ENGINE=@ZM_MYSQL_ENGINE@; ) ENGINE=@ZM_MYSQL_ENGINE@;

5
db/zm_update-1.30.2.sql Normal file
View File

@ -0,0 +1,5 @@
--
-- This updates a 1.30.1 database to 1.30.2
--
ALTER TABLE Users MODIFY MonitorIds TEXT NOT NULL;

View File

@ -1 +1 @@
1.30.1 1.30.2