User engine migrations foobar on foreign key constraints

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

A patch for this sounds fine - http://dev.rails-engines.org

Thanks :slight_smile:

James