Support the ongoing development of Laravel.io →
Database Laravel Installation
Last updated 4 months ago.
0

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.

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Anthony studiolapomme Joined 28 Apr 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.