Manual:UpdateRestrictions.php

Details
UpdateRestrictions.php is maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script, that updates   table from old   column.