diff --git a/scripts/_common.sh b/scripts/_common.sh index ecd263f..2e5c821 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,8 @@ # dependencies used by the app pkg_dependencies="" +YNH_PHP_VERSION="7.3" + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 49fa5e7..ff8a5a3 100755 --- a/scripts/install +++ b/scripts/install @@ -133,8 +133,8 @@ ynh_script_progression --message="Building the application..." pushd "$final_path" # Run the database migrations and initially fill the db - php$phpversion artisan migrate --no-interaction --verbose --force - php$phpversion artisan db:seed --force --no-interaction --verbose + php$phpversion artisan migrate --force + php$phpversion artisan db:seed --force popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 20f92d1..0af4089 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -135,17 +135,17 @@ ynh_script_progression --message="Upgrading the database..." pushd "$final_path" # Put the application into maintenance mode - php$phpversion artisan down --no-interaction --verbose + php$phpversion artisan down # Optimize the framework for better performance - php$phpversion artisan optimize --force --no-interaction --verbose + php$phpversion artisan optimize --force # Run the database migrations - php$phpversion artisan migrate --no-interaction --verbose - php$phpversion artisan db:seed --class=UpdateSeeder --force --no-interaction --verbose + php$phpversion artisan migrate --force + php$phpversion artisan db:seed --class=UpdateSeeder --force # Bring the application out of maintenance mode - php$phpversion artisan up --no-interaction --verbose + php$phpversion artisan up popd #=================================================