A Strapi plugin for executing database migrations using node-migrate. Version 0.0.4 is the latest stable release. It wraps node-migrate commands (strapi-migrate-up, strapi-migrate-down, strapi-migrate-list) and optionally stores migration state in the database via a built-in store. Differentiates from raw node-migrate by integrating with Strapi's lifecycle. The plugin has not been updated since 2020 and has limited adoption.
npm install strapi-plugin-database-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up scripts in package.json and create a sample migration file using the plugin.
Use Node 14 or consider an alternative like node-migrate directly.
Run via npx: npx strapi-migrate-up --store ...
Use CommonJS require; avoid ESM import.
Add the script to package.json scripts as shown in quickstart and run via npm run.
Use Node 14 or lower. If using Node 16+, migrate to a different solution.