diff --git a/db/zmalter-1.21.0.sql b/db/zmalter-1.21.0.sql index 4a8d860ec..95d453b02 100644 --- a/db/zmalter-1.21.0.sql +++ b/db/zmalter-1.21.0.sql @@ -5,6 +5,11 @@ -- 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; diff --git a/db/zmschema.sql.z b/db/zmschema.sql.z index 4ea3a1d1c..ac1261e2f 100644 --- a/db/zmschema.sql.z +++ b/db/zmschema.sql.z @@ -178,8 +178,8 @@ CREATE TABLE Stats ( FilterPixels int(10) unsigned NOT NULL default '0', BlobPixels int(10) unsigned NOT NULL default '0', Blobs smallint(5) unsigned NOT NULL default '0', - MinBlobSize smallint(5) unsigned NOT NULL default '0', - MaxBlobSize smallint(5) unsigned NOT NULL default '0', + MinBlobSize int(10) unsigned NOT NULL default '0', + MaxBlobSize int(10) unsigned NOT NULL default '0', MinX smallint(5) unsigned NOT NULL default '0', MaxX smallint(5) unsigned NOT NULL default '0', MinY smallint(5) unsigned NOT NULL default '0',