Seed and migrationfiles creation
when developing an application with Voyager, it should have created migration-files and also seed-files as long as environment is local. Then its much easier to develop locally and rollout to production without having to export and import database.
Hi there,
I am just following up on some of the old unanswered questions on the site.
Indeed, this has been an open question for Voyager for quite a while.
There has been a discussion about it on the official Voyager repo here:
Some suggestions are:
- Use a package like this one here: https://github.com/Xethron/migrations-generator.
- Export the key tables such as those for the menus, bread and roles and then import them in production (making sure maintenance mode is on, of course).
- If you don't want to use a package, manually re-create your menus.
Hope that this helps!
Best,
Bobby