Added 1.21.4 updates
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1504 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
66d4a72570
commit
02d8d3dbd8
|
@ -26,4 +26,5 @@ EXTRA_DIST = \
|
|||
zmalter-1.20.1.sql \
|
||||
zmalter-1.21.0.sql \
|
||||
zmalter-1.21.1.sql \
|
||||
zmalter-1.21.2.sql
|
||||
zmalter-1.21.2.sql \
|
||||
zmalter-1.21.3.sql
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
--
|
||||
-- This updates a 1.21.2 database to 1.21.3
|
||||
--
|
||||
alter table Monitors add column WebColour varchar(32) NOT NULL default 'red';
|
||||
update Monitors set WebColour = concat( '#', hex(14*rand()),hex(15*rand()),hex(14*rand()),hex(15*rand()),hex(14*rand()),hex(15*rand()) );
|
||||
alter table Events add column Height smallint(5) unsigned NOT NULL default '0' after EndTime;
|
||||
alter table Events add column Width smallint(5) unsigned NOT NULL default '0' after EndTime;
|
||||
--
|
||||
-- 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;
|
Loading…
Reference in New Issue