2006-05-03 22:38:17 +08:00
|
|
|
--
|
|
|
|
-- This updates a 1.22.1 database to 1.22.2
|
|
|
|
--
|
|
|
|
|
|
|
|
--
|
2006-05-08 20:34:44 +08:00
|
|
|
-- Add missing Zone Preset
|
2006-05-03 22:38:17 +08:00
|
|
|
--
|
2006-05-30 23:36:26 +08:00
|
|
|
replace into ZonePresets values (6,'Best, high sensitivity','Active','Percent','Blobs',20,NULL,8,NULL,3,3,6,NULL,5,NULL,1,NULL);
|
2006-05-03 22:38:17 +08:00
|
|
|
|
2006-05-08 20:34:44 +08:00
|
|
|
--
|
|
|
|
-- Remove redundant Zone columns
|
|
|
|
--
|
|
|
|
alter table Zones drop column LoX;
|
|
|
|
alter table Zones drop column HiX;
|
|
|
|
alter table Zones drop column LoY;
|
|
|
|
alter table Zones drop column HiY;
|
|
|
|
|
2006-05-03 22:38:17 +08:00
|
|
|
--
|
|
|
|
-- These are optional, but we might as well do it now
|
|
|
|
--
|
|
|
|
optimize table Frames;
|
|
|
|
optimize table Events;
|
|
|
|
optimize table Filters;
|
|
|
|
optimize table Zones;
|
|
|
|
optimize table Monitors;
|
|
|
|
optimize table Stats;
|