repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Implement extension registration from an extension.json file
[mediawiki.git]
/
maintenance
/
postgres
/
archives
/
patch-redirect.sql
blob
d2922d3b11898f658aaa09da3633c00e44ce78fb
1
CREATE TABLE redirect (
2
rd_from INTEGER NOT NULL REFERENCES page(page_id) ON DELETE CASCADE,
3
rd_namespace SMALLINT NOT NULL,
4
rd_title TEXT NOT NULL
5
);
6
CREATE INDEX redirect_ns_title ON redirect (rd_namespace,rd_title,rd_from);
7