Skip to content

ggirodda/strapi-plugin-database-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strapi plugin database-migration

This strapi plugin allow to execute database migrations, using node-migrate, just replace migrate by strapi-migrate

If you want to store migrations in database, you can define --store option, and use the lib/strapi-database-store in the package. Example:

//package.json
// ...
"scripts": {
    // ...
    "strapi-migrate-down": "strapi-migrate-down --store strapi-plugin-database-migration/lib/strapi-database-store",
    "strapi-migrate-list": "strapi-migrate-list --store strapi-plugin-database-migration/lib/strapi-database-store",
    "strapi-migrate-up": "strapi-migrate-up --store strapi-plugin-database-migration/lib/strapi-database-store"
}
// ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published