-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joined tables problem #57
Comments
@alexturetsky thank you for the report! @skalee @ribose-jeffreylau do you have time to look at this? Thanks! |
@ronaldtse thanks a lot for looking into this! |
Hi @alexturetsky attribute :user_id, :uuid Your feedback is appreciated! |
hi @ribose-jeffreylau ,
Do you think I should update all my models with explicit attributes referencing joined tables? |
Hi @alexturetsky , |
Thanks @ribose-jeffreylau , can we add this as a warning on the README? |
@ronaldtse Yes, perhaps under |
Thank you, all! |
Thanks @alexturetsky ! |
just an fyi, interesting enough, without explicitly declaring all UUID columns, migrations ran fine (it correctly created all tables with all foreign keys and types)
adding uuid attributes to the model did not break it =) |
I have two tables - User and Devices:
uuid is registered as ActiveUUID::Type::BinaryUUID
when I try to create these in DB
I get a SQL error:
if I decode the hex string x'66333366333533382d333731632d346261372d383731352d383139646439373265346266' I get 'f33f3538-371c-4ba7-8715-819dd972e4bf' - and it looks like
id
of theuser
The text was updated successfully, but these errors were encountered: