You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to let you know that the default generated migrations will silently fail if the app is using UUIDs as the primary key type. No failure occurs, just that the association values will be 0 since the default ID type is bigint.
Might be worth adding a note in the README that if you're app is using UUIDs then you'll need to edit the generated migrations. Or you could do something fancier.
Happy to submit PRs for either or neither!
Thanks 🙇
The text was updated successfully, but these errors were encountered:
Hello, and thanks for this awesome gem!
Just wanted to let you know that the default generated migrations will silently fail if the app is using UUIDs as the primary key type. No failure occurs, just that the association values will be
0
since the default ID type isbigint
.Might be worth adding a note in the README that if you're app is using UUIDs then you'll need to edit the generated migrations. Or you could do something fancier.
Happy to submit PRs for either or neither!
Thanks 🙇
The text was updated successfully, but these errors were encountered: