I think you should be fine by adding php artisan migrate
directly after php-fpm reload. If no migration is necessary it will only output "Nothing to migrate".
cd /home/forge/mapp
git pull origin develop
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "" | sudo -S service php7.1-fpm reload
php artisan migrate
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community