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
After abort, generate-schema-query returns the aborted search_path #8
Comments
Hi, Barry! This is actually deliberate although probably not very well explained. It also has the added benefit of needing a running database when getting the schema query to use, which might be done in a build step or similar. |
Right! I sort of find this interface odd fwiw. You could initialize the program with |
It's definitely odd but necessary to actually achieve zero-downtime migrations. Aborts should only be performed after the new application has been rolled backed and the old application is still running. So the process looks like this:
Does that make more sense? |
However, if you look at
\dn
in pgcli the schema doesn't exist.The text was updated successfully, but these errors were encountered: