thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Generate Migrations For Voyager-Created Models #3872

Closed PatrickL789 closed 5 years ago

PatrickL789 commented 5 years ago

I was playing with Voyager and I just realized that with what I was doing, what I created using the Voyager GUI (models, breads, etc...) did not translate to migrations. So, when I turned off my development server or when I move to a production server, everything I did was gone. So, now I have to redo all that stuff.

Is there any way to save what I have done in the Voyager control panel so I don't have to redo it all when I move to production? And if not, when can we expect this feature? I had thought that this would be a given. But, I guess not.

adilimudassir commented 5 years ago

orangehill/iseed to create seeders and Xethron/migrations-generator to generate migrations have been doing a good job for me

bolechen commented 5 years ago

+1

fletch3555 commented 5 years ago

This has been requested numerous times, but the maintainers don't have time (or a good way) to build it. You'd be surprised how complex that request really is. We're dependent on the community to provide pull requests.

Having said that, it's already in progress in #2604, so I'm going to close this.

DrudgeRajen commented 5 years ago

I had written a package for creating the seeder by listening the BREAD events. I am also planning to add migration feature on it.

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.