Skip to content

Commit 0d7ed5c

Browse files
committed
MAGETWO-88054: Move declarative setup from setup to framework
1 parent 8d25052 commit 0d7ed5c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

app/code/Magento/Developer/Console/Command/TablesWhitelistGenerateCommand.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
*/
2323
class TablesWhitelistGenerateCommand extends Command
2424
{
25+
/**
26+
* Whitelist file name.
27+
*/
28+
const GENERATED_FILE_NAME = 'db_schema_whitelist.json';
29+
2530
/**
2631
* Module name key, that will be used in whitelist generate command.
2732
*/

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ class InstallCommand extends AbstractSetupCommand
6868
*/
6969
const INPUT_KEY_INTERACTIVE_SETUP_SHORTCUT = 'i';
7070

71+
/**
72+
* Parameter says that in this mode all destructive operations, like column removal will be dumped
73+
*/
74+
const INPUT_KEY_SAFE_INSTALLER_MODE = 'safe-mode';
75+
76+
/**
77+
* Parameter allows to restore data, that was dumped with safe mode before
78+
*/
79+
const INPUT_KEY_DATA_RESTORE = 'data-restore';
80+
7181
/**
7282
* Regex for sales_order_increment_prefix validation.
7383
*/

0 commit comments

Comments
 (0)