-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added upgrade test infrastructure #130
Conversation
This is quite simple yet very powerful suite of tests. I was browsing through the code for some other things and and found this gem of a PR that is a template on how to have database compatibility and upgrade tests. Thanks very much ! |
6f1ef8e
to
96c233c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some thoughts and questions 🦖
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The schema-1.2.0.sql changes make sense to me. Thanks for adding the description that explains how to find the stored procedure dependencies!
Resolves #124
Resolves #191
This PR introduces a tool for generating SQL databases with data from the v1.0.0 release of the SQL provider as well as a new test that restores the generated database and runs tests against it. This is necessary to ensure that databases can be auto-upgraded and that no data loss occurs as part of the upgrade.