Manual:patchSql.php

MediaWiki version:
1.16

Details

edit

patchSql.php file is a maintenance script to manually run an SQL patch outside of the general updaters.

Arguments

edit
Argument Description Required
patch-name Name of the patch file, either full path or in maintenance/archives Required

Usage

edit
php maintenance/patchSql.php patch-name
custom-patch.sql
ALTER TABLE /*_*/actor ADD email varchar(255) NOT NULL;
Terminal

See also

edit