Manual:PatchSql.php/pt

Versão MediaWiki:
1.16
Category:MediaWiki code/pt#PatchSql.php

Detalhes

O ficheiro patchSql.php é um script de manutenção para executar manualmente uma correcção no código SQL fora dos atualizadores gerais.

Arguments

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

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.

See also

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