Laravel 5.5 Consolidate migrations w/ production database
问题 Hopefully, I can explain this well. I have a Laravel application that has been in production for a minute. So, I have a bunch of migration files with a lot of changes. I would like to consolidate these migration files without losing the database. The way I think this would work: Get all production tables migrated to the desired state. Consolidate all the migration files into the minimum number of files needed. Clear the migrations table. Either run migrations or populate the migrations table.