From: Greg Sabino Mullane Date: Tue, 3 Oct 2006 00:55:26 +0000 (+0000) Subject: Bump oldimage types to match image table. X-Git-Tag: 1.31.0-rc.0~55657 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=c9300ad62fd10d9de5eef82168dd63a05a9ae879;p=lhc%2Fweb%2Fwiklou.git Bump oldimage types to match image table. --- diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index 5c96038ed5..8ee8720335 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -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,