I think you have a couple of ways to do this. There is a third party tool to create migrations from databae tables:
https://github.com/Xethron/migrations-generator
And there is this thread on Stack Overflow talks about how to seed a database table with the raw SQL files.
https://stackoverflow.com/a/37381991
So I'm sure that between the two you can find the solution that you need.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community