We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27929b commit c099345Copy full SHA for c099345
recipe/magento_2_2/database.php
@@ -30,7 +30,10 @@
30
});
31
32
task('database:upgrade', function () {
33
- get('database_upgrade_needed') ?
34
- run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:upgrade --keep-generated --no-interaction') :
+ if (get('database_upgrade_needed')) {
+ run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:db-schema:upgrade --no-interaction');
35
+ run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:db-data:upgrade --no-interaction');
36
+ } else {
37
writeln('Skipped -> All Modules are up to date');
38
+ }
39
0 commit comments