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
fix(db): add extensions to search_path #2143
Conversation
### Describe your changes References NAN-757 Ref NangoHQ#2002, self-hosted using Supabase/Postgres also needs `extensions` in `search_path` to access `uuid_generate_v4` * Add `extensions` to `search_path`
Fixed merge conflicts. With the introduction of |
Hey @t1mmen thanks for your contribution, this is definitely a topic that will pop regularly with custom install. |
…d breaking backwards compatibility
+ fix typo
@bodinsamuel Done, I think.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems perfect to me thanks 💪🏻
I'll let the rest of the team catch up with the PR and we can merge this!
## Describe your changes Follow up of #2143 Didn't realize when reviewing that it could not be an array
Describe your changes
Self-hosted using Supabase/Postgres also needs
extensions
insearch_path
to accessuuid_generate_v4
, else migrations fail.extensions
tosearch_path
Issue ticket number and link
public
Checklist before requesting a review (skip if just adding/editing APIs & templates)
Unsure how I'd test this, but given the ~same change didn't have tests, I'm hoping this is OK.
Docker logs pointing at problem:
Verifying the location of extension: