Added flipped monitors changes.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1399 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
ef95a37a73
commit
596030a8f0
|
@ -23,4 +23,5 @@ EXTRA_DIST = \
|
|||
zmalter-1.19.4.sql \
|
||||
zmalter-1.19.5.sql \
|
||||
zmalter-1.20.0.sql \
|
||||
zmalter-1.20.1.sql
|
||||
zmalter-1.20.1.sql \
|
||||
zmalter-1.21.0.sql
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
--
|
||||
-- This updates a 1.21.0 database to 1.21.1
|
||||
--
|
||||
-- Make changes to Monitors table
|
||||
--
|
||||
alter table Monitors modify column Orientation enum('0','90','180','270','hori','vert') NOT NULL default '0';
|
||||
--
|
||||
-- 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;
|
|
@ -125,7 +125,7 @@ CREATE TABLE Monitors (
|
|||
Width smallint(5) unsigned NOT NULL default '0',
|
||||
Height smallint(5) unsigned NOT NULL default '0',
|
||||
Palette tinyint(3) unsigned NOT NULL default '1',
|
||||
Orientation enum('0','90','180','270') NOT NULL default '0',
|
||||
Orientation enum('0','90','180','270','hori','vert') NOT NULL default '0',
|
||||
Brightness mediumint(7) NOT NULL default '-1',
|
||||
Contrast mediumint(7) NOT NULL default '-1',
|
||||
Hue mediumint(7) NOT NULL default '-1',
|
||||
|
|
Loading…
Reference in New Issue