aboutsummaryrefslogtreecommitdiffstats
path: root/includes/installer/MssqlUpdater.php
diff options
context:
space:
mode:
authorDavid Barratt <dbarratt@wikimedia.org>2018-06-18 10:26:20 -0400
committerRoan Kattouw <roan.kattouw@gmail.com>2018-09-07 15:25:49 -0700
commitc2bd4b12c7c3c1e9cecd87e7683d4acdb2b4697e (patch)
tree00b24313ba2be7d3c4ca1bdd3c7d280449ece508 /includes/installer/MssqlUpdater.php
parent7f6bd0c6fec48474f2225bd26979815c0229813d (diff)
downloadmediawikicore-c2bd4b12c7c3c1e9cecd87e7683d4acdb2b4697e.tar.gz
mediawikicore-c2bd4b12c7c3c1e9cecd87e7683d4acdb2b4697e.zip
Make Schema changes for Partial Blocks
Update the database schema so a block can be switched between a sitewide and partial block. Also add the restrictions table for specifiying the partial blocks. Bug: T197144 Change-Id: I4a725312c4b980a1b14e5ca826069fa2278a5913
Diffstat (limited to 'includes/installer/MssqlUpdater.php')
-rw-r--r--includes/installer/MssqlUpdater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/installer/MssqlUpdater.php b/includes/installer/MssqlUpdater.php
index 84427136cf1f..17b1d7e53363 100644
--- a/includes/installer/MssqlUpdater.php
+++ b/includes/installer/MssqlUpdater.php
@@ -149,6 +149,8 @@ class MssqlUpdater extends DatabaseUpdater {
[ 'runMaintenance', PopulateChangeTagDef::class, 'maintenance/populateChangeTagDef.php' ],
[ 'addIndex', 'change_tag', 'change_tag_rc_tag_id',
'patch-change_tag-change_tag_rc_tag_id.sql' ],
+ [ 'addField', 'ipblocks', 'ipb_sitewide', 'patch-ipb_sitewide.sql' ],
+ [ 'addTable', 'ipblocks_restrictions', 'patch-ipblocks_restrictions-table.sql' ],
];
}