Skip to content
A gem for Rails that makes it easy to use migrations in plugins.
Ruby HTML JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
plugin_migrator.gemspec
shippable.yml

README.md

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.

Something went wrong with that request. Please try again.