diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 6032ddcd0..d12c7fcc0 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -450,6 +450,7 @@ insert into Controls values (2,'PELCO-P','Local','zmcontrol-pelco-p.pl',1,1,0,1, insert into Controls values (3,'Sony VISCA','Local','zmcontrol-visca.pl',1,1,0,1,0,0,0,1,0,16384,10,4000,1,1,6,1,1,1,0,1,0,1536,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,3,1,1,1,1,0,1,1,0,1,-15578,15578,100,10000,1,1,50,1,254,1,-7789,7789,100,5000,1,1,50,1,254,0,0); INSERT INTO Controls VALUES (4,'Axis API v2','Remote','zmcontrol-axis-v2.pl',0,0,0,1,0,0,1,0,0,9999,10,2500,0,NULL,NULL,1,1,0,1,0,0,9999,10,2500,0,NULL,NULL,1,1,0,1,0,0,9999,10,2500,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,12,1,1,1,1,1,0,1,0,1,-360,360,1,90,0,NULL,NULL,0,NULL,1,-360,360,1,90,0,NULL,NULL,0,NULL,0,0); insert into Controls values (5,'Panasonic IP','Remote','zmcontrol-panasonic-ip.pl',0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,8,1,1,1,0,1,0,0,1,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,0,0); +insert into Controls values (6,'Neu-Fusion NCS370','Remote','zmcontrol-ncs370.pl',0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,24,1,0,1,1,0,0,0,1,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,0,0); -- -- Add some monitor preset values diff --git a/db/zm_update-1.21.3.sql b/db/zm_update-1.21.3.sql index 5101252b2..0ecf4b862 100644 --- a/db/zm_update-1.21.3.sql +++ b/db/zm_update-1.21.3.sql @@ -1,5 +1,5 @@ -- --- This updates a 1.21.2 database to 1.21.3 +-- This updates a 1.21.3 database to 1.21.4 -- alter table Monitors add column WebColour varchar(32) not null default 'red'; update Monitors set WebColour = concat( '#', hex(14*rand()),hex(15*rand()),hex(14*rand()),hex(15*rand()),hex(14*rand()),hex(15*rand()) ); diff --git a/db/zm_update-1.21.4.sql b/db/zm_update-1.21.4.sql index b137e682b..0d7a6bfb9 100644 --- a/db/zm_update-1.21.4.sql +++ b/db/zm_update-1.21.4.sql @@ -1,5 +1,5 @@ -- --- This updates a 1.21.3 database to 1.21.4 +-- This updates a 1.21.4 database to 1.22.0 -- 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; @@ -18,6 +18,8 @@ alter table Zones add column NumCoords tinyint(3) unsigned NOT NULL default '0' alter table Zones add column Coords tinytext NOT NULL after NumCoords; alter table Zones add column Area int(10) unsigned not null default 0 after Coords; alter table Zones modify column AlarmRGB int(10) unsigned default '0'; +-- +insert into Controls values ('','Neu-Fusion NCS370','Remote','zmcontrol-ncs370.pl',0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,24,1,0,1,1,0,0,0,1,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,0,0); -- -- Table structure for table `MonitorPresets`