| 1 |
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php. |
| 2 |
-- Source: maintenance/abstractSchemaChanges/patch-templatelinks-tl_title-nullable.json |
| 3 |
-- Do not modify this file directly. |
| 4 |
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes |
| 5 |
ALTER TABLE /*_*/templatelinks |
| 6 |
DROP PRIMARY KEY; |
| 7 |
ALTER TABLE /*_*/templatelinks |
| 8 |
CHANGE tl_target_id tl_target_id BIGINT UNSIGNED NOT NULL; |
| 9 |
ALTER TABLE /*_*/templatelinks |
| 10 |
ADD PRIMARY KEY (tl_from, tl_target_id); |