Manual:PatchSql.php/pl

Wersja MediaWiki:
1.16
Category:MediaWiki code/pl#PatchSql.php

Details

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

Arguments

Argument Description Required
patch-nameName of the patch file, either full path or in sql/$dbtype/Wymagane

Usage

php maintenance/run.php patchSql patch-name
custom-patch.sql
ALTER TABLE /*_*/actor ADD email varchar(255) NOT NULL;
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Zobacz też

Category:Maintenance scripts/pl#patchSql.php Category:Database maintenance scripts/pl
Category:Database maintenance scripts/pl Category:Maintenance scripts/pl Category:MediaWiki code/pl