[TASK] Update database schema as first and last update wizard 40/27240/8
authorStephan Großberndt <stephan@grossberndt.de>
Sat, 1 Feb 2014 17:23:01 +0000 (18:23 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 2 Mar 2014 13:24:19 +0000 (14:24 +0100)
commit2e06fc198a251d4ca1375a61f5e4b8ed0d91df87
tree167c40c8a5d9cbc87c5d36556102d036e93b3e8e
parentdfab37ac702f566250bcb4f9cec35da471dafad5
[TASK] Update database schema as first and last update wizard

Introduces two new upgrade wizards in the Install tool.

The first wizard - added as first step of the upgrade wizards - adds
tables, fields and keys to comply to the database schema. When this is
necessary no other wizards can be executed until these are created.

The second wizard - added as last step of the upgrade wizards - changes
tables, fields and keys to comply to the database schema. When other
upgrade wizards are available, this one is not available to make sure
they have all necessary fields.

In order to make sure they are added as first and last step they are
added in UpdateWizard instead of ext_localconf.php.

The former "Final step" is now optional and has been renamed to "Hint".
The buttons to start the update wizards from the list have been renamed
from "Next" to "Execute".

Resolves: #53890
Releases: 6.2
Change-Id: I866b558df3325acca3122bbd4e0c2285447fcdf3
Reviewed-on: https://review.typo3.org/27240
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php
typo3/sysext/install/Classes/Updates/AbstractDatabaseSchemaUpdate.php [new file with mode: 0644]
typo3/sysext/install/Classes/Updates/FinalDatabaseSchemaUpdate.php [new file with mode: 0644]
typo3/sysext/install/Classes/Updates/InitialDatabaseSchemaUpdate.php [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/UpgradeWizard/ListUpdates.html