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