File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 77
88namespace Deployer;
99
10- task('database:upgrade', '{{bin/php}} {{magento_bin}} setup:upgrade --keep-generated');
10+ task('database:upgrade', function () {
11+ run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:db-schema:upgrade --no-interaction');
12+ run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:db-data:upgrade --no-interaction');
13+ });
Original file line number Diff line number Diff line change 3030});
3131
3232task('database:upgrade', function () {
33- get('database_upgrade_needed') ?
34- run('{{bin/php}} {{release_path}}/{{magento_bin}} setup:upgrade --keep-generated --no-interaction') :
33+ if (get('database_upgrade_needed')) {
34+ 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 {
3537 writeln('Skipped -> All Modules are up to date');
38+ }
3639});
You can’t perform that action at this time.
0 commit comments