-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Docs] migrator: shadow schema #434
Comments
Thanks for trying it out. The shadow database is not a requirement, it's only used when you're trying to autogenerate changes. It's still possible to write everything by hand like in the previous version. My setup is to use the shadow database features on a local db in order to speed up writing migrations etc. but only run I agree it should detect the misconfiguration and probably point to some docs about how you might want to change your workflow. I'll look into this. In the meantime which query exactly is your database setup rejecting? |
It fails if I try "goto" or "check" commands (the second one is more interesting)
|
connectionString is a URL, so it should be treated as such. regex didn't handle more complex cases (such as "-" in the name of database). And while it is possible to tweak regex for greater compatibility, using actual URL-object guarantees proper result in ALL cases. mmkal#434
I'm trying to migrate to pgkit/migrator from older slonik-based version. I'm mostly good except for understanding the usage of shadow database.
The text was updated successfully, but these errors were encountered: