Taskgration
Short description and motivation.
Usage
How to use my plugin.
Installation
Add this line to your application's Gemfile:
gem 'taskgration'And then execute:
$ bundleOr install it yourself as:
$ rake taskgration:install:migrationsUsage
1. Creating a task to migrate
$ rails generate taskgration:create YOUR_TASK_MIGRATION_NAME2. Running the unapplied tasks migrations
$ rake taskgration:up3. Rolling back applied tasks migrations
$ rake taskgration:down TASKGRATION_VERSION=YOUR_VERSION_NUMBER #=> Rollback 1 specific version
$ rake taskgration:down TASKGRATION_STEPS=QUANTITY_OF_STEPS #=> Rollback the number of times passed
$ rake taskgration:down #=> Rollback always the newest created migrationLicense
The gem is available as open source under the terms of the MIT License.