Generated migrations do not work if you are using UUIDs as primary key type
johnmcdowall opened this issue · comments
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 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 🙇
Helloooo! No no, thank you for using it! :')
That sounds.... correct, or expected. By all means, submit submit submit! Happy to approve; I have no experience with UUIDs. :)