User engine migrations foobar on foreign key constraints


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.


A patch for this sounds fine -

Thanks :slight_smile:


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