Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A gem for Rails that makes it easy to use migrations in plugins.
Ruby HTML JavaScript CSS
branch: master

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

Build Status Code Climate Test Coverage

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.