Performed using:
git ls-files \*.json \*.php \*.xml \*.xsd \*.html \*.txt \*.sql | xargs sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba'
Excluded tests/parser/preprocess.
Change-Id: I513538ff13c942acfe589f15c5128a8df2b3ace9
6 lines
251 B
SQL
6 lines
251 B
SQL
CREATE TABLE redirect (
|
|
rd_from INTEGER NOT NULL REFERENCES page(page_id) ON DELETE CASCADE,
|
|
rd_namespace SMALLINT NOT NULL,
|
|
rd_title TEXT NOT NULL
|
|
);
|
|
CREATE INDEX redirect_ns_title ON redirect (rd_namespace,rd_title,rd_from);
|