Migrate Voyager changes in dev to production

uday-kothari

Nov 17th, 2022 09:52 PM

Hi, How do I migrate changes done in development environment (Voyager) like new menus or BREAD to production site? Thanks

bobbyiliev

Nov 18th, 2022 04:29 AM

Hi there,

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:

How to migrate BREAD from dev to prod?

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