wiki.techinc.nl/maintenance/archives/patch-page_restrictions-pr_page.sql
Umherirrender fa40110671 schema: Make page_id references unsigned
This includes:
page_props.pp_page
page_restrictions.pr_page
ipblocks_restrictions.ir_value

These columns must hold all possible values from page.page_id,
which is an unsigned integer.

These patches doesn't apply to Postgres.

Bug: T297212
Change-Id: I789f19f4d52daeab08f3090771404d078f86d0b3
2022-01-27 20:20:00 +01:00

6 lines
No EOL
348 B
SQL

-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: maintenance/abstractSchemaChanges/patch-page_restrictions-pr_page.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE /*_*/page_restrictions
CHANGE pr_page pr_page INT UNSIGNED NOT NULL;