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
I use UUIDs for my models with PostgreSQL (though the database layer shouldn't matter here). At this point in the insert bits, it looks like it's hardcoded to use id as the attribute.
I'm proposing to have a id_column configuration option that allows for specifying this.
Side-note: this looks like a prime spot for some refactoring re: how that Version struct is built!
The text was updated successfully, but these errors were encountered:
We already have this feature, please check the documentation and you're welcome to issue a pull request for any refactors.
When I built this library it was very simple and in many ways it is still quite straightforward and stable in general(have many tests). In case if you are interested in refactoring and create a pull request I will make sure I will review it objectively, I don't hold any emotions against code.
I use UUIDs for my models with PostgreSQL (though the database layer shouldn't matter here). At this point in the insert bits, it looks like it's hardcoded to use
id
as the attribute.I'm proposing to have a
id_column
configuration option that allows for specifying this.Side-note: this looks like a prime spot for some refactoring re: how that Version struct is built!
The text was updated successfully, but these errors were encountered: