Skip to content

kaspernj/plugin_migrator

Repository files navigation

Code Climate Test Coverage Build Status

PluginMigrator

Run all plugin-migrations without installing them as real migrations in every app.

Install

Add to your plugin's Gemfile and bundle:

gem "plugin_migrator"

Rename the "db/migrate" to "db/plugin_migrate".

Usage

Run the following rake-task to run all missing plugin-migrations:

bundle exec rake plugin_migrator:migrate

Do rollbacks like so:

bundle exec rake plugin_migrator:rollback

This project rocks and uses MIT-LICENSE.

About

A gem for Rails that makes it easy to use migrations in plugins.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published