Bump oldimage types to match image table.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Tue, 3 Oct 2006 00:55:26 +0000 (00:55 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Tue, 3 Oct 2006 00:55:26 +0000 (00:55 +0000)
maintenance/postgres/tables.sql

index 5c96038..8ee8720 100644 (file)
@@ -241,8 +241,8 @@ CREATE TABLE oldimage (
   oi_name          TEXT         NOT NULL  REFERENCES image(img_name),
   oi_archive_name  TEXT         NOT NULL,
   oi_size          INTEGER      NOT NULL,
-  oi_width         SMALLINT     NOT NULL,
-  oi_height        SMALLINT     NOT NULL,
+  oi_width         INTEGER      NOT NULL,
+  oi_height        INTEGER      NOT NULL,
   oi_bits          SMALLINT     NOT NULL,
   oi_description   TEXT,
   oi_user          INTEGER          NULL  REFERENCES mwuser(user_id) ON DELETE SET NULL,