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

postgres: Automatically create search_path schema when needed #169

Merged
merged 2 commits into from Nov 1, 2020

Conversation

amacneil
Copy link
Owner

@amacneil amacneil commented Nov 1, 2020

In #167 we added support for specifying a postgres search_path, which is used to store the schema_migrations table. However, if the schema does not already exist it will cause an error.

In this PR we automatically create the first schema in the search_path if it does not exist.

@amacneil amacneil force-pushed the create-schema branch 3 times, most recently from 1c9f665 to f909461 Compare November 1, 2020 00:46
@amacneil amacneil merged commit ac718a2 into master Nov 1, 2020
@amacneil amacneil deleted the create-schema branch November 1, 2020 02:09
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

1 participant