Migration v5p logo

Migration v5p

By Roland Kalmogo

A migration plugin for Strapi v5 inspired by strapi-plugin-migrations

Latest version

v1.0.1

released March 24, 2025

npm install strapi-plugin-migration-v5p

Strapi Plugin Migration v5p

⚠️ Version Warning: This plugin is specifically designed for Strapi v5. If you're using Strapi v4 or earlier, please use the original strapi-plugin-migrations by Tony Deplanque.

A migration plugin for Strapi v5, inspired by strapi-plugin-migrations.

Overview

This plugin provides migration capabilities for Strapi v5, allowing you to manage database schema changes and data transformations in a structured way. It's based on the original work by Tony Deplanque but adapted for Strapi v5 compatibility.

Installation

npm install strapi-plugin-migration-v5p
# or
yarn add strapi-plugin-migration-v5p

Configuration & Usage

To enable and configure the plugin, add the following to your config/plugins.ts (or config/plugins.js):

export default () => ({
  migrations5p: {
    enabled: true,
    config: {
      autoStart: true,
      migrationFolderPath: process.env.MIGRATION_PATH,
    },
  },
});

This configuration:

  • Enables the plugin
  • Sets autoStart to true to automatically run migrations on startup
  • Uses an environment variable MIGRATION_PATH to specify where your migration files are located

For more detailed configuration options and advanced usage examples, please refer to the original strapi-plugin-migrations documentation.

Credits

This plugin is a fork of strapi-plugin-migrations by Tony Deplanque. All credit for the original implementation goes to him.

License

This project is licensed under the same terms as the original strapi-plugin-migrations.

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content