dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move interwiki management from big ugly array into the database, with
[lhc/web/wiklou.git]
/
maintenance
/
tables.sql
diff --git
a/maintenance/tables.sql
b/maintenance/tables.sql
index
9b90473
..
388bbfe
100644
(file)
--- a/
maintenance/tables.sql
+++ b/
maintenance/tables.sql
@@
-177,3
+177,11
@@
CREATE TABLE searchindex (
UNIQUE KEY (si_page)
) TYPE=MyISAM PACK_KEYS=1;
+DROP TABLE IF EXISTS interwiki;
+CREATE TABLE interwiki (
+ iw_prefix char(32) NOT NULL,
+ iw_url char(127) NOT NULL,
+ iw_local BOOL NOT NULL,
+ UNIQUE KEY iw_prefix (iw_prefix)
+);
+