2004-08-11 23:30:08 +08:00
|
|
|
--
|
2004-09-23 21:43:10 +08:00
|
|
|
-- This updates a 1.19.4 database to 1.19.5
|
2004-08-11 23:30:08 +08:00
|
|
|
--
|
2004-09-23 21:43:10 +08:00
|
|
|
-- Make changes to Monitors table
|
|
|
|
--
|
|
|
|
alter table Monitors add column EventPrefix varchar(32) not null default 'Event-' after Orientation;
|
2004-09-25 20:37:45 +08:00
|
|
|
alter table Monitors add column AlarmFrameCount smallint(5) unsigned not null default '1' after PostEventCount;
|
2004-09-26 00:37:41 +08:00
|
|
|
alter table Monitors add column Brightness mediumint(7) NOT NULL default '-1' after Orientation;
|
|
|
|
alter table Monitors add column Contrast mediumint(7) NOT NULL default '-1' after Brightness;
|
|
|
|
alter table Monitors add column Hue mediumint(7) NOT NULL default '-1' after Contrast;
|
|
|
|
alter table Monitors add column Colour mediumint(7) NOT NULL default '-1' after Hue;
|
2004-09-23 21:43:10 +08:00
|
|
|
--
|
2004-09-25 20:37:45 +08:00
|
|
|
-- These are optional, but we might as well do it now
|
2004-09-23 21:43:10 +08:00
|
|
|
--
|
|
|
|
optimize table Frames;
|
|
|
|
optimize table Events;
|
|
|
|
optimize table Filters;
|
|
|
|
optimize table Zones;
|
|
|
|
optimize table Monitors;
|
|
|
|
optimize table Stats;
|