Foreigner introduces a few methods to your migrations for adding and removing foreign key constraints. It also dumps foreign keys to schema.rb.
This gem adds SQL Server support on top of Foreigner.
Add this line to your application's Gemfile:
Why have a separate gem?
The author of Foreigner chooses not to add additional databases to Foreigner itself but made it easy to register new adapters from another gem. (more)
- Fork it
- 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 new Pull Request