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:
gem 'sqlserver-foreigner'
See Foreigner.
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)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)