Creates ERD (Entity-Relationship-Models) from Sequel Models. This is a quite hacky project without any real specs. Hope these will follow.
Add this line to your application's Gemfile:
gem 'sequel_erd'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sequel_erd
Run
Sequel::Erd.create
after loading your Application Code and Models (e.g. from the CLI). This will create a sequel_erd.png in your Applications root path.
- Fork it ( https://github.com/mcb/sequel_erd/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