Skip to content
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: only use postgres schema name if explicitly set #883

Merged
merged 4 commits into from
Jan 5, 2025

Conversation

mfridman
Copy link
Collaborator

@mfridman mfridman commented Jan 4, 2025

Fix #882

This PR updates the postgres table existence check SQL queries. We were previously defaulting in app code to the postgres default of public schema (link), but instead, we should respect whatever a user may have set and let postgres handle it.

Note, we still use the schema if the user explicitly sets a custom table name like schema.table.

@mfridman mfridman merged commit 3c91df1 into master Jan 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant