PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

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