wiki.techinc.nl/maintenance/archives/patch-ipblocks_restrictions-ir_value.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
359 B
SQL

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