14 lines
438 B
MySQL
14 lines
438 B
MySQL
|
--
|
||
|
-- 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;
|
||
|
-- 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;
|