2004-01-27 20:27:22 +08:00
|
|
|
--
|
|
|
|
-- This updates a 1.17.1 database to 1.17.2
|
|
|
|
--
|
|
|
|
-- Make changes to Zones table
|
|
|
|
--
|
|
|
|
alter table Zones change column AlarmThreshold MinPixelThreshold smallint unsigned;
|
|
|
|
alter table Zones add column MaxPixelThreshold smallint unsigned after MinPixelThreshold;
|
2004-02-06 17:21:44 +08:00
|
|
|
alter table Events drop column ImagePath;
|
2004-01-27 20:27:22 +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;
|