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-tableoption to check for the existence of a database table before completing