Manual:patchSql.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.16
<translate> MediaWiki version:</translate>

Detalhes

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

Arguments

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

Usage

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

See also