Skip to content

Generated migrations do not work if you are using UUIDs as primary key type #38

@jmdfm

Description

@jmdfm

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 🙇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions