summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-langlinks.sql
blob: 5594acd5bc31fda632a8330c26bd561d06cc039d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CREATE TABLE /*$wgDBprefix*/langlinks (
  -- page_id of the referring page
  ll_from int unsigned NOT NULL default '0',

  -- Language code of the target
  ll_lang varbinary(20) NOT NULL default '',

  -- Title of the target, including namespace
  ll_title varchar(255) binary NOT NULL default '',

  UNIQUE KEY (ll_from, ll_lang),
  KEY (ll_lang, ll_title)
) /*$wgDBTableOptions*/;