Bug 3 - Made zone blobs limits full ints.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1411 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-05-16 15:37:46 +00:00
parent dd626ec0b8
commit 136a115184
2 changed files with 9 additions and 4 deletions

View File

@ -7,8 +7,13 @@ alter table Monitors modify column Orientation enum('0','90','180','270','hori',
--
-- 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';
alter table Stats modify column MinBlobSize int(10) unsigned NOT NULL default '0';
alter table Stats modify column MaxBlobSize int(10) unsigned NOT NULL default '0';
--
-- Make changes to Zones table
--
alter table Zones modify column MinBlobPixels int(10) unsigned default NULL;
alter table Zones modify column MaxBlobPixels int(10) unsigned default NULL;
--
-- These are optional, but we might as well do it now
--

View File

@ -246,8 +246,8 @@ CREATE TABLE Zones (
FilterY tinyint(3) unsigned default NULL,
MinFilterPixels int(10) unsigned default NULL,
MaxFilterPixels int(10) unsigned default NULL,
MinBlobPixels smallint(5) unsigned default NULL,
MaxBlobPixels smallint(5) unsigned default NULL,
MinBlobPixels int(10) unsigned default NULL,
MaxBlobPixels int(10) unsigned default NULL,
MinBlobs smallint(5) unsigned default NULL,
MaxBlobs smallint(5) unsigned default NULL,
PRIMARY KEY (Id),