Ridgepole
Ridgepole is a tool to DB schema.
It defines DB schema using Rails DSL, and updates DB schema according to DSL. (like Chef/Puppet)
Installation
Add this line to your application's Gemfile:
gem 'ridgepole'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ridgepole
Usage
ridgepole --export -o Schemafile
vi Schemafile
ridgepole --apply --dry-run
ridgepole --apply