zoneminder/db/zmalter-1.21.0.sql

21 lines
597 B
SQL

--
-- 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';
--
-- Make changes to Stats table
--
alter table Sats modify column MinBlobSize int(10) unsigned NOT NULL default '0';
alter table Sats modify column MaxBlobSize int(10) unsigned 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;