Yes, you have to run the artisan command to apply your migrations. Just add your new migration file to git and then run php artisan migrate as part of your deploy script. Laravel will only apply the migrations that haven't been already run so it's ok to run the command at any time.
Mar 27, 2016
3
Level 6
After First deploy laravel add changes on database/migration
In laracasts has any videos related to maintain code changes like example how to manage database migration changes after first deploy. Do we need to login each time SSH and apply artisan command for that or it has any other ways?
Please or to participate in this conversation.