-
Notifications
You must be signed in to change notification settings - Fork 3
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
Extend checkDatabaseAllowUnknownTables to allow unknown composite types #22
Conversation
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.
LGTM modulo minor comments.
CHANGELOG.md
Outdated
@@ -1,3 +1,7 @@ | |||
# hpqtypes-extras-1.8.0.0 (2019-05-21) |
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.
Should be 1.9.0.0.
@@ -749,35 +749,35 @@ migrationTest2 connSource = | |||
checkDatabase extrasOptions [] [] currentSchema | |||
assertNoException "checkDatabaseAllowUnknownTables runs fine \ | |||
\for consistent DB" $ | |||
checkDatabaseAllowUnknownTables extrasOptions [] [] currentSchema | |||
checkDatabaseAllowUnknownObjects extrasOptions [] [] currentSchema |
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.
Shouldn't we also add a test to this file that checks that unknown composites are accepted?
I updated changelog and tests, should be good to merge now. |
Travis is red, looks like it's due to a missing upper bound and a Haddock error. |
Ok, it's good now (travis failed for some but it's its fault). |
Merged, thanks! |
No description provided.