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

How to use different schemas with Postgres? #158

Open
alexvictoor opened this issue Sep 2, 2022 · 1 comment
Open

How to use different schemas with Postgres? #158

alexvictoor opened this issue Sep 2, 2022 · 1 comment

Comments

@alexvictoor
Copy link

Hello
The doc mentions the "SET search_path" command. Is there an easy way to runn this command prior to postgrator migrations? Will postgrator create a schemaversion table in the specified schema?
Thanks in advance for your help

Alex

@rickbergfalk
Copy link
Owner

The search_path will be set and run automatically prior to running migrations, so there shouldn't be any need to run it yourself. It is more an implementation detail so that you are aware how it is accomplishing things.

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

No branches or pull requests

2 participants