blob: 6d7cf36efce856c1ebad9f91bb0b8d36bdf94e74 (
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-templatelinks-target_id.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE templatelinks
ADD tl_target_id BIGINT DEFAULT NULL;
CREATE INDEX tl_target_id ON templatelinks (tl_target_id, tl_from);
CREATE INDEX tl_backlinks_namespace_target_id ON templatelinks (
tl_from_namespace, tl_target_id,
tl_from
);
|