From e8fc83f9d8bd475b9ca41ae5a23ecfb8fcf6710a Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 24 Dec 2002 11:49:48 +0000 Subject: [PATCH] Added X10 output field. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@203 e3e1d417-86f3-4887-817a-d78f3d33393f --- db/zmalter-0.0.1.sql | 5 +++-- db/zmschema.sql.z | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/db/zmalter-0.0.1.sql b/db/zmalter-0.0.1.sql index a82bdfb82..892bcc48f 100644 --- a/db/zmalter-0.0.1.sql +++ b/db/zmalter-0.0.1.sql @@ -13,8 +13,9 @@ alter table Monitors add column PostEventCount smallint unsigned NOT NULL defaul alter table Monitors add column AlarmFrameCount smallint unsigned NOT NULL default '1'; alter table Monitors add column FPSReportInterval smallint unsigned NOT NULL default '250'; alter table Monitors add column RefBlendPerc tinyint unsigned NOT NULL default '10'; -alter table Monitors add column X10Active char(32); -alter table Monitors add column X10Alarm char(32); +alter table Monitors add column X10Activation char(32); +alter table Monitors add column X10AlarmInput char(32); +alter table Monitors add column X10AlarmOutput char(32); alter table Monitors modify column Function enum('None','Passive','Active','X10') default 'Passive' not null; update Monitors set LabelFormat = '%%s - %y/%m/%d %H:%M:%S'; update Monitors set LabelX = 0; diff --git a/db/zmschema.sql.z b/db/zmschema.sql.z index 53d55b539..a29a07412 100644 --- a/db/zmschema.sql.z +++ b/db/zmschema.sql.z @@ -91,8 +91,9 @@ CREATE TABLE Monitors ( AlarmFrameCount smallint(5) unsigned NOT NULL default '1', FPSReportInterval smallint(5) unsigned NOT NULL default '250', RefBlendPerc tinyint(3) unsigned NOT NULL default '10', - X10Active varchar(32) default NULL, - X10Alarm varchar(32) default NULL, + X10Activation varchar(32) default NULL, + X10AlarmInput varchar(32) default NULL, + X10AlarmOutput varchar(32) default NULL, PRIMARY KEY (Id) ) TYPE=MyISAM;