Bug 238 - Changed RunMode to Enabled flag
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1719 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
f9ed407837
commit
b3e75d77ee
|
@ -229,7 +229,7 @@ CREATE TABLE Monitors (
|
||||||
Name varchar(64) NOT NULL default '',
|
Name varchar(64) NOT NULL default '',
|
||||||
Type enum('Local','Remote','File') NOT NULL default 'Local',
|
Type enum('Local','Remote','File') NOT NULL default 'Local',
|
||||||
Function enum('None','Monitor','Modect','Record','Mocord','Nodect') NOT NULL default 'Monitor',
|
Function enum('None','Monitor','Modect','Record','Mocord','Nodect') NOT NULL default 'Monitor',
|
||||||
RunMode enum('Continuous','Triggered') NOT NULL default 'Continuous',
|
Enabled tinyint(3) unsigned NOT NULL default '1',
|
||||||
Triggers set('X10') NOT NULL default '',
|
Triggers set('X10') NOT NULL default '',
|
||||||
Device tinytext,
|
Device tinytext,
|
||||||
Channel tinyint(3) unsigned NOT NULL default '0',
|
Channel tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
--
|
--
|
||||||
-- This updates a 1.21.3 database to 1.21.4
|
-- This updates a 1.21.3 database to 1.21.4
|
||||||
--
|
--
|
||||||
|
alter table Monitors change column RunMode Enabled tinyint(3) unsigned NOT NULL default '1';
|
||||||
alter table Monitors add column DefaultRate smallint unsigned not null default 100 after ReturnDelay;
|
alter table Monitors add column DefaultRate smallint unsigned not null default 100 after ReturnDelay;
|
||||||
alter table Monitors modify column DefaultRate smallint unsigned not null default 100;
|
|
||||||
--
|
--
|
||||||
alter table Events add column Videoed tinyint unsigned not null default 0 after Archived;
|
alter table Events add column Videoed tinyint unsigned not null default 0 after Archived;
|
||||||
alter table Filters add column AutoVideo tinyint unsigned not null default 0 after AutoArchive;
|
alter table Filters add column AutoVideo tinyint unsigned not null default 0 after AutoArchive;
|
||||||
|
|
Loading…
Reference in New Issue