thedevdojo / voyager

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

Breads different on Local and Production Server and Seeding problem #2458

Closed MohsinNadeem closed 6 years ago

MohsinNadeem commented 6 years ago

Description:

Problem 1: Whenever I migrate:refresh the voyager does not seed complete data, which I have to enter manually every-time. Like data_rows and permission_role tables.

Problem 2: If I create breads on my local server and then import db on production server. I have to change breads properties again as they reset to default.

Any solution for these above problems ?

fletch3555 commented 6 years ago

Voyager does not create migration or seed files for changes you make through the UI, so you are responsible for doing so (or choosing a different strategy).

Additionally, if you're running migrate:refresh, please note that Voyager's seeder is not called by default in the normal DatabaseSeeder class, so you'll need to add that yourself.

We have plans to implement this functionality in a future version, but haven't come up with a good way to do so yet. For now, as I've said, these tasks will be on you to complete.

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.