Reputation: 5540
I have a database and I would like to generate migration based on tables that already exists.
How can I do that?
I am running linux ubuntu 16.10 + Mariadb and laravel 5.4
Upvotes: 0
Views: 572
Reputation: 12450
A quick Google shows many packages that will do just this sort of thing for you, like migrations-generator
.
You'll probably want to go over any generated migrations as well just to make sure they match what you're after.
Upvotes: 2