2003-03-26 20:48:15 +08:00
|
|
|
--
|
|
|
|
-- This updates a 0.9.9 database to 0.9.10
|
|
|
|
--
|
|
|
|
alter table Monitors add column Type enum('Local','Remote') NOT NULL default 'Local' after Name;
|
|
|
|
alter table Monitors add column Host varchar(64) default NULL after Format;
|
|
|
|
alter table Monitors add column Port varchar(8) default '80' after Host;
|
|
|
|
alter table Monitors add column Path varchar(255) default NULL after Port;
|
2003-03-26 22:02:26 +08:00
|
|
|
alter table Monitors add column MaxFPS decimal( 5, 2) not null default 0.0 after AlarmFrameCount;
|
|
|
|
alter table Monitors drop column AlarmFrameCount;
|
2003-03-26 20:48:15 +08:00
|
|
|
optimize table Frames;
|
|
|
|
optimize table Events;
|
|
|
|
optimize table Filters;
|
|
|
|
optimize table Zones;
|
|
|
|
optimize table Monitors;
|
|
|
|
optimize table Stats;
|