Updated stats blob sizes to full ints.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1408 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-05-16 11:23:58 +00:00
parent 27d9da11f9
commit 80a790db53
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,11 @@
-- --
alter table Monitors modify column Orientation enum('0','90','180','270','hori','vert') NOT NULL default '0'; 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 -- These are optional, but we might as well do it now
-- --
optimize table Frames; optimize table Frames;

View File

@ -178,8 +178,8 @@ CREATE TABLE Stats (
FilterPixels int(10) unsigned NOT NULL default '0', FilterPixels int(10) unsigned NOT NULL default '0',
BlobPixels int(10) unsigned NOT NULL default '0', BlobPixels int(10) unsigned NOT NULL default '0',
Blobs smallint(5) unsigned NOT NULL default '0', Blobs smallint(5) unsigned NOT NULL default '0',
MinBlobSize smallint(5) unsigned NOT NULL default '0', MinBlobSize int(10) unsigned NOT NULL default '0',
MaxBlobSize smallint(5) unsigned NOT NULL default '0', MaxBlobSize int(10) unsigned NOT NULL default '0',
MinX smallint(5) unsigned NOT NULL default '0', MinX smallint(5) unsigned NOT NULL default '0',
MaxX smallint(5) unsigned NOT NULL default '0', MaxX smallint(5) unsigned NOT NULL default '0',
MinY smallint(5) unsigned NOT NULL default '0', MinY smallint(5) unsigned NOT NULL default '0',