Forum: Ruby on Rails Support for foreign keys in Migrations

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steve E. (Guest)
on 2006-01-19 00:32
(Received via mailing list)
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.


Joshua B. (Guest)
on 2006-01-19 01:08
(Received via mailing list)
This plugin does it for mysql & postgre.
Darragh C. (Guest)
on 2006-01-19 01:15
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.
Steve E. (Guest)
on 2006-01-19 04:25
(Received via mailing list)

Thanks for the pointers to the plugins!
This topic is locked and can not be replied to.