-
Notifications
You must be signed in to change notification settings - Fork 0
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
[3.1.0] Add Postgres Support #91
base: master
Are you sure you want to change the base?
Conversation
Please note that no cleanup has been done in detail. Also, I added a section on migrating from v2 to v3 - which is lacking any information, so maybe we can tackle #89 while we are at it? |
We might also want to test a Postgres setup in the workflow from here on, but I guess your new workflow setup doesn't allow for different databases at this point? |
…reating the database ourselves anymore
… into the dump, which is an issue if db names are different on server and client.
…wipe` option to skip the wipe
…ases support this.
You can add support for it if you want, the repository is public: https://github.com/cybex-gmbh/github-workflows I also created an issue for this: cybex-gmbh/github-workflows#11 |
This pull request includes several updates to the Documentation Updates:
Dependency and Configuration Updates:
Schema State Proxy Classes:
Core Functionality Enhancements:
|
Workflow update PR: cybex-gmbh/github-workflows#15 |
This PR adds support for PostgreSQL databases, and additionally replaces the manual MySQL dump import logic with the default SchemaState
load()
method.Also, it now prints the full dump path on the console after
protector:export
, and colorizes the output for improved legibility.Testing status:
In replacement of the manual drop/re-create database logic, we are now wiping the database prior to importing the dump. This can be prevented by using the
--no-wipe
option inprotector:import
.Note
It should be discussed whether we should just drop the tables, or really drop views and types, too.
Since they are potentially both part of the dump, it seems to make sense to wipe it all.