blob: d9d8fe8eb633075f5900c7fcc74854631e008f4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: sql/abstractSchemaChanges/patch-pagelinks-target_id.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE pagelinks
ADD pl_target_id BIGINT DEFAULT NULL;
CREATE INDEX pl_target_id ON pagelinks (pl_target_id, pl_from);
CREATE INDEX pl_backlinks_namespace_target_id ON pagelinks (
pl_from_namespace, pl_target_id,
pl_from
);
|