From 69662d644a9b8695820cf1d14a0bafa0b5a62e41 Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 23 Jan 2009 15:35:41 +0000 Subject: [PATCH] Fixed missing DB table changes. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2722 e3e1d417-86f3-4887-817a-d78f3d33393f --- db/zm_create.sql.in | 2 +- db/zm_update-1.23.3.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 04637b28f..1f275f3bd 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -298,7 +298,7 @@ DROP TABLE IF EXISTS `Monitors`; CREATE TABLE `Monitors` ( `Id` int(10) unsigned NOT NULL auto_increment, `Name` varchar(64) NOT NULL default '', - `Type` enum('Local','Remote','File') NOT NULL default 'Local', + `Type` enum('Local','Remote','File','Ffmpeg') NOT NULL default 'Local', `Function` enum('None','Monitor','Modect','Record','Mocord','Nodect') NOT NULL default 'Monitor', `Enabled` tinyint(3) unsigned NOT NULL default '1', `LinkedMonitors` varchar(255) NOT NULL default '', diff --git a/db/zm_update-1.23.3.sql b/db/zm_update-1.23.3.sql index da6da9fba..7c483aa1c 100644 --- a/db/zm_update-1.23.3.sql +++ b/db/zm_update-1.23.3.sql @@ -41,6 +41,7 @@ update Monitors set Method = "v4l1" where Type = 'Local'; -- Add monitor type for FFMPEG cameras -- alter table Monitors modify column `Type` enum('Local','Remote','File','Ffmpeg') NOT NULL default 'Local'; +alter table MonitorPresets modify column `Type` enum('Local','Remote','File','Ffmpeg') NOT NULL default 'Local'; -- -- Add in new MPEG presets