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 hardcoded pgroll schema in state initialization #284

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

andrew-farries
Copy link
Collaborator

Fix some hard-coded occurrences of the pgroll schema name where the schema name should instead be parameterized.

This isn't the first time we've made a mistake like this so also add a test to guard against it.

Add a test that ensures that `pgroll` initializes correctly in a
non-default schema.
As is done elswhere in the SQL when referencing the `migrations` table.
@andrew-farries andrew-farries merged commit 161fde6 into main Feb 22, 2024
42 checks passed
@andrew-farries andrew-farries deleted the fix-hardcodes-in-state-init branch February 22, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants