-
Notifications
You must be signed in to change notification settings - Fork 35
Feature/Check DB Table Exists #446
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
Conversation
- Implemented `WithTableExists` option to configure table existence checks. - Added tests for scenarios where a table exists and does not exist. - Updated command to accept a `--table-exists` flag for checking table presence in the database.
- Introduced `WithTableExists` option to allow configuration of table existence checks. - Added tests for scenarios where a specified table exists and does not exist. - Updated MySQL command to support a `--table-exists` flag for checking table presence in the database.
Hi @MatthewCane, Thanks for your contribution! I think it would be better to rename the Also, it looks like the MySQL unit tests failed. Could you please check that? |
@MatthewCane, regarding the unit tests — please let me know if you need any help. |
Thank you for the feedback @atkrad, I agree on the flag naming and I have adjusted it accordingly. I have hopefully fixed the tests and added a small extra line to the setup of the database test containers to hopefully make the tests more reliable, I've had a few flakey failures:
|
Pull Request Test Coverage Report for Build 16142558891Details
💛 - Coveralls |
Thank you for catching those! This feature is going to be really useful for me so I'm very happy I could contribute. |
Resolves #444.
--expect-table
option to check for the existence of a database table before completing