Manuel:PatchSql.php

From mediawiki.org
This page is a translated version of the page Manual:PatchSql.php and the translation is 100% complete.
Version de MediaWiki :
1.16

Détails

Le fichier patchSql.php est un script de maintenance pour exécuter manuellement une correction SQL séparément des mises à jour générales.

Arguments

Argument Description Obligatoire
patch-name Name of the patch file, either full path or in maintenance/archives obligatoire

Utilisation

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

Voir aussi