From 85727dbe2be39eefea09e740432c0c217cd9e80e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 30 Jan 2017 17:25:07 -0500 Subject: [PATCH] bump version and set Path to allow NULLS --- db/zm_create.sql.in | 3 +-- db/zm_update-1.30.13.sql | 7 +++++++ version | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 db/zm_update-1.30.13.sql diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 90fc319f3..039ca7524 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -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@; diff --git a/db/zm_update-1.30.13.sql b/db/zm_update-1.30.13.sql new file mode 100644 index 000000000..a01357a41 --- /dev/null +++ b/db/zm_update-1.30.13.sql @@ -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); diff --git a/version b/version index 09f8e11bf..56abadc20 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.30.12 +1.30.13