Closed MihaelIsaev closed 6 years ago
When I'm trying to save model to the database with specified UUID ID it saves with another random UUID ID.
I'm trying to transfer data from another database and I really need to use my old UUIDs as PRIMARY KEY ID.
We should check if UUID ID is already specified and only in case when it isn't fluent should generate random UUID.
I've updated PR description and created related issue.
fixes #56 and #78 - similar to PR #60
Hey @MihaelIsaev, you just merged a pull request, have a coin!
You now have 84 coins.
Thanks @tanner0101
The problem
When I'm trying to save model to the database with specified UUID ID it saves with another random UUID ID.
Why I need this fix
I'm trying to transfer data from another database and I really need to use my old UUIDs as PRIMARY KEY ID.
Workaround
We should check if UUID ID is already specified and only in case when it isn't fluent should generate random UUID.