Manual:PatchSql.php/de
Appearance
MediaWiki Version: | ≥ 1.16 |
MediaWiki-Datei: patchSql.php | |
---|---|
Speicherort: | maintenance/ |
Quellcode: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klassen: | PatchSql |
Details
patchSql.php file is a maintenance script to manually run an SQL patch outside of the general updaters.
Argumente
Argument | Beschreibung | Notwendig |
---|---|---|
patch-name | Name of the patch file, either full path or in maintenance/archives | Notwendig |
Verwendung
php maintenance/patchSql.php patch-name
custom-patch.sql
ALTER TABLE /*_*/actor ADD email varchar(255) NOT NULL;
Terminal
$ php maintenance/patchSql.php custom-patch.sql custom-patch.sql ... done.