Manual:PatchSql.php

This page is a translated version of the page Manual:PatchSql.php and the translation is 33% complete.
Versión de MediaWiki:
1.16

Detalles

El archivo patchSql.php es un script de mantenimiento para ejecutar manualmente un parche SQL por fuera de los actualizadores generales.

Arguments

Argument Description Required
patch-name Name 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