X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=UPGRADE;h=3e3cb1383b61d67956b964099ef7d9f892be109a;hb=cc14c616152f010e3021ab2cc35fdca18e12db7d;hp=46f5e65aa54c134630ea2a2ebedb2c7e4dc9ff2a;hpb=43750ed984b5c843aae935514b18ffb98a1079af;p=lhc%2Fweb%2Fwiklou.git diff --git a/UPGRADE b/UPGRADE index 46f5e65aa5..3e3cb1383b 100644 --- a/UPGRADE +++ b/UPGRADE @@ -51,6 +51,11 @@ deleted file archives, and any custom skins. === Perform the database upgrade === +As of 1.21, it is possible to separate schema changes (i.e. adding, +dropping, or changing tables, fields, or indices) from all other +database changes (e.g. populating fields). If you need this +capability, see "From the command line" below. + ==== From the web ==== If you browse to the web-based installation script (usually at @@ -64,6 +69,12 @@ update.php script to check and update the schema. This will insert missing tables, update existing tables, and move data around as needed. In most cases, this is successful and nothing further needs to be done. +If you need to separate out the schema changes so they can be run +by someone with more privileges, then you can use the --schema option +to produce a text file with the necessary commands. You can use +--schema, --noschema, $wgAllowSchemaUpdates as well as proper database +permissions to enforce this separation. + === Check configuration settings === The names of configuration variables, and their default values and purposes,