bump version and set Path to allow NULLS

This commit is contained in:
Isaac Connor 2017-01-30 17:25:07 -05:00
parent 9fd9c5de20
commit 85727dbe2b
3 changed files with 9 additions and 3 deletions

View File

@ -342,7 +342,7 @@ CREATE TABLE `Monitors` (
`Host` varchar(64),
`Port` varchar(8) NOT NULL default '',
`SubPath` varchar(64) NOT NULL default '',
`Path` varchar(255) NOT NULL default '',
`Path` varchar(255),
`Options` varchar(255),
`User` varchar(64),
`Pass` varchar(64),
@ -398,7 +398,6 @@ CREATE TABLE `Monitors` (
`WebColour` varchar(32) NOT NULL default 'red',
`Exif` tinyint(1) unsigned NOT NULL default '0',
`Sequence` smallint(5) unsigned default NULL,
`Orientation` enum('0','90','180','270','hori','vert') NOT NULL default '0',
PRIMARY KEY (`Id`)
) ENGINE=@ZM_MYSQL_ENGINE@;

7
db/zm_update-1.30.13.sql Normal file
View File

@ -0,0 +1,7 @@
--
-- This updates a 1.30.10 database to 1.30.11
--
-- Add StateId Column to Events.
--
ALTER TABLE Monitors MODIFY Path VARCHAR(255);

View File

@ -1 +1 @@
1.30.12
1.30.13