summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-langlinks.sql
blob: ffff07c0ae6caa964be5611c09ba40511f33d380 (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*/;