You can't run database migrations manually when a Laravel app is in production. Instead, define a deploy hook in
# Not a full vapor.yml configuration
- 'php artisan migrate --force'
--force flag confirms that you're okay with running destructive migrations, such as deleting a column.
Vapor will run this command before the deployment is finalized, making any necessary changes to the production database.
Follow my twitter (@benborgers)
to see the work-in-progress of coding projects I’m working on!