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
Failed to load latest commit information.
lib Bumped to 0.0.2
spec
.gitignore First commit.
Gemfile Added Shippable and CodeClimate.
Gemfile.lock Added string-cases dependency. Enter spec/dummy when executing commands.
MIT-LICENSE First commit.
README.md Update README.md
Rakefile First commit.
plugin_migrator.gemspec Added string-cases dependency. Enter spec/dummy when executing commands.
shippable.yml Only change path one time.

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.