Support for foreign keys in Migrations

Is there any work being done to add support for defining foreign keys in
ActiveRecord Migrations? If not is it something that people would find
useful or do most people here believe in the “Application Database”
over the “Integration Database” style [1] as defined by Fowler?

I’d love to see support for foreign keys in Migrations. For selfish
I’d be most interested in such support for SQL Server and Oracle.



This plugin does it for mysql & postgre.

Joshua B. wrote:

This plugin does it for mysql & postgre.

maybe a little simpler - but so far servicing my needs, hadn’t looked at
the other one until now.


Thanks for the pointers to the plugins!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs