Manual:PatchSql.php/pl
Appearance
Wersja MediaWiki: | ≥ 1.16 |
Plik MediaWiki: patchSql.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Klasy: | PatchSql |
Details
patchSql.php file is a maintenance script to manually run an SQL patch outside of the general updaters.
Arguments
Argument | Description | Required |
---|---|---|
patch-name | Name of the patch file, either full path or in maintenance/archives | Wymagane |
Usage
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.