2004-02-16 03:42:00 +08:00
|
|
|
--
|
2004-02-16 07:15:38 +08:00
|
|
|
-- This updates a 1.17.2 database to 1.18.0
|
2004-02-16 03:42:00 +08:00
|
|
|
--
|
|
|
|
-- Make changes to Filter table
|
|
|
|
--
|
2004-02-16 04:02:41 +08:00
|
|
|
alter table Zones add column CheckMethod enum('AlarmedPixels','FilteredPixels','Blobs') NOT NULL default 'Blobs' after AlarmRGB;
|
2004-02-16 03:42:00 +08:00
|
|
|
alter table Filters drop index FilterIDX;
|
2004-02-26 19:10:17 +08:00
|
|
|
alter table Filters drop column MonitorId;
|
2004-02-22 05:45:36 +08:00
|
|
|
update Filters set AutoArchive = 0, AutoDelete = 0, AutoUpload = 0, AutoEmail = 0, AutoMessage = 0;
|
2004-02-16 03:42:00 +08:00
|
|
|
--
|
|
|
|
-- These are optional, but we might as well
|
|
|
|
--
|
|
|
|
optimize table Frames;
|
|
|
|
optimize table Events;
|
|
|
|
optimize table Filters;
|
|
|
|
optimize table Zones;
|
|
|
|
optimize table Monitors;
|
|
|
|
optimize table Stats;
|