PG::UndefinedFunction: ERROR: operator does not exist: bigint = uuid #226
awesome
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Is this a bug? When using the uuid plugin, you can just change the generator output. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not really a bug, but a solution for using acts_as_favoritor with Postgres UUID extension. Didn't work OTB, so found a solution and recording it here. Zero search results for uuid in the repo: https://github.com/jonhue/acts_as_favoritor/search?q=uuid Thanks for the tip "you can just change the generator output." Sounds great, but still don't know how to do that. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
To Reproduce
Use Postgres
uuid
extension.Default acts_as_favoritor generator schema output:
Fix
After generating migration, before
rails db:migrate
:id: :uuid
to block arguments.t.references…
lines withtype: :uuid
Expected behavior
Environment
Rails 6.1
Beta Was this translation helpful? Give feedback.
All reactions