summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-img_width.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-img_width.sql')
-rw-r--r--maintenance/archives/patch-img_width.sql12
1 files changed, 6 insertions, 6 deletions
diff --git a/maintenance/archives/patch-img_width.sql b/maintenance/archives/patch-img_width.sql
index c99bd46d..06889ea6 100644
--- a/maintenance/archives/patch-img_width.sql
+++ b/maintenance/archives/patch-img_width.sql
@@ -4,15 +4,15 @@
-- column is no longer used and has therefore be removed from this patch
ALTER TABLE /*$wgDBprefix*/image ADD (
- img_width int(5) NOT NULL default 0,
- img_height int(5) NOT NULL default 0,
- img_bits int(5) NOT NULL default 0
+ img_width int NOT NULL default 0,
+ img_height int NOT NULL default 0,
+ img_bits int NOT NULL default 0
);
ALTER TABLE /*$wgDBprefix*/oldimage ADD (
- oi_width int(5) NOT NULL default 0,
- oi_height int(5) NOT NULL default 0,
- oi_bits int(3) NOT NULL default 0
+ oi_width int NOT NULL default 0,
+ oi_height int NOT NULL default 0,
+ oi_bits int NOT NULL default 0
);