2003-04-13 00:17:17 +08:00
|
|
|
--
|
|
|
|
-- This updates a 0.9.10 database to 0.9.11
|
|
|
|
--
|
|
|
|
alter table Monitors change column Colours Palette tinyint(3) unsigned NOT NULL default '1';
|
|
|
|
update Monitors set Palette = 1 where Palette = 8;
|
|
|
|
update Monitors set Palette = 4 where Palette = 24;
|
2003-04-15 19:54:08 +08:00
|
|
|
alter table Zones modify column Type enum('Active','Inclusive','Exclusive','Preclusive','Inactive') not null default 'Active';
|
2003-04-13 00:17:17 +08:00
|
|
|
-- These are optional, it just seemed a good time...
|
|
|
|
optimize table Frames;
|
|
|
|
optimize table Events;
|
|
|
|
optimize table Filters;
|
|
|
|
optimize table Zones;
|
|
|
|
optimize table Monitors;
|
|
|
|
optimize table Stats;
|