On Wed, Feb 18, 2009 at 2:03 PM, Jeff Lewis <[email protected]> wrote:
> Then, after migrating, that constraint should show up in db/
> development_structure.sql, which your tests will then use when re-
> creating test db:
>
> ...
> CREATE TABLE `books` (
>  ...
>  CONSTRAINT `fk_book_author` FOREIGN KEY (`author_id`) REFERENCES
> `authors` (`id`) ON DELETE CASCADE

Right, that's what I'm saying.  This does not occur for Oracle.

The development_structure.sql I get is CONSTRAINT-less.



-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to