Provides integration between ridgepole and rails 5 newer.
Add this line to your application's Gemfile:
gem 'ridgepoler-rails'And then execute:
$ bundle install
$ bundle exec rails generate ridgepole:installOnce installed, Ridgepoler will generate migration files instead of ActiveRecord migration files when commands like rails generate model be used.
Ridgepoler will replace or clear some db tasks. If you doesn't need that overrides, you can set config.ridgepole.override_db_tasks = false.
db:migrate:statusdb:rollbackdb:schema:cache:cleardb:schema:cache:dumpdb:schema:dumpdb:schema:loaddb:structure:dumpdb:structure:loaddb:version
db:migrate=>ridgepole:applydb:setup=>ridgepole:setup
- Fork it ( https://github.com/space-pirates-llc/ridgepoler-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
The gem is available as open source under the terms of the MIT License.