summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-linktables.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-linktables.sql')
-rw-r--r--maintenance/archives/patch-linktables.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/maintenance/archives/patch-linktables.sql b/maintenance/archives/patch-linktables.sql
index 8c521ad9..ae9768a8 100644
--- a/maintenance/archives/patch-linktables.sql
+++ b/maintenance/archives/patch-linktables.sql
@@ -5,13 +5,13 @@
DROP TABLE IF EXISTS /*$wgDBprefix*/links;
CREATE TABLE /*$wgDBprefix*/links (
-- Key to the page_id of the page containing the link.
- l_from int(8) unsigned NOT NULL default '0',
+ l_from int unsigned NOT NULL default '0',
-- Key to the page_id of the link target.
-- An unfortunate consequence of this is that rename
-- operations require changing the links entries for
-- all links to the moved page.
- l_to int(8) unsigned NOT NULL default '0',
+ l_to int unsigned NOT NULL default '0',
UNIQUE KEY l_from(l_from,l_to),
KEY (l_to)
@@ -26,7 +26,7 @@ CREATE TABLE /*$wgDBprefix*/links (
DROP TABLE IF EXISTS /*$wgDBprefix*/brokenlinks;
CREATE TABLE /*$wgDBprefix*/brokenlinks (
-- Key to the page_id of the page containing the link.
- bl_from int(8) unsigned NOT NULL default '0',
+ bl_from int unsigned NOT NULL default '0',
-- Text of the target page title ("namesapce:title").
-- Unfortunately this doesn't split the namespace index
@@ -45,7 +45,7 @@ CREATE TABLE /*$wgDBprefix*/brokenlinks (
DROP TABLE IF EXISTS /*$wgDBprefix*/imagelinks;
CREATE TABLE /*$wgDBprefix*/imagelinks (
-- Key to page_id of the page containing the image / media link.
- il_from int(8) unsigned NOT NULL default '0',
+ il_from int unsigned NOT NULL default '0',
-- Filename of target image.
-- This is also the page_title of the file's description page;