Generates a json schema for jasonapi resource models
Add this line to your application's Gemfile:
gem 'ember-schema'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ember-schema
The schema will automatically be generated when you run db:migrate
rake db:migrate
and it will show up in db/schema.js. You can also fire it off manually like this
rake db:schema:ember
- Fork it ( https://github.com/[my-github-username]/ember-schema/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