DEV Community

Nomodo.io
Nomodo.io

Posted on • Originally published at blog.nomodo.io on

Feature Release: Run Migrations Directly from the Admin GUI!

You will find this feature in the Actions tab of your application details. The “ Run Migrations ” button allows you to perform migrations effortlessly with a single click.

How it works

  1. Start the migration : Click the Run Migrations button.
  2. Automatic backup : Before applying the migrations, an automatic database backup is created to ensure data security.
  3. Run migrations : The migrations are applied and you can run multiple migrations in succession.
  4. View results : The migration results are displayed in a modal window, providing you with detailed CLI output.

Why migrations are important

Migrations are essential scripts used to apply changes to your database schema. They are necessary when you first set up your Medusa backend and for applying updates when new Medusa versions introduce changes to the database schema. Using migrations ensures that your database structure is always aligned with the requirements of your application. Detailed information on creating and managing migrations can be found in the MedusaJS documentation.

Database migrations in GUI

Automatic automatic backups before each migration.

Try Free MedusaJS Backend

Start using the new migration feature today and enjoy a smoother, more efficient way to manage your database migrations directly from the GUI.

Happy migrating! 🚀

Top comments (0)