Forum: Rails Engines development user engine migrations foobar on foreign key constraints

Posted by Brian Estlin (Guest)
on 2006-10-10 06:29
(Received via mailing list)
hi,

Hope this is the right place and i'm not repeating something on the
archive (i looked, briefly).

UserEngine gave me some grief when running migrations due to the fact
that I use foreign key constraints in my database.  The order in which
the tables are created/deleted is important!

I advise creating the permission_table and role_table first, then the
join tables.  Drop them in the reverse order.

I can submit a patch if desired.

-Brian
Posted by James Adam (Guest)
on 2006-10-10 11:02
(Received via mailing list)
A patch for this sounds fine - http://dev.rails-engines.org

Thanks :)

James
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.