Skip to content
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

Merged
merged 2 commits into from
May 22, 2019

Conversation

arybczak
Copy link
Collaborator

No description provided.

Copy link
Contributor

@23Skidoo 23Skidoo left a 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)
Copy link
Contributor

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
Copy link
Contributor

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?

@arybczak
Copy link
Collaborator Author

I updated changelog and tests, should be good to merge now.

@23Skidoo
Copy link
Contributor

Travis is red, looks like it's due to a missing upper bound and a Haddock error.

@arybczak
Copy link
Collaborator Author

Ok, it's good now (travis failed for some but it's its fault).

@23Skidoo 23Skidoo merged commit a8a25e3 into master May 22, 2019
@23Skidoo 23Skidoo deleted the unknown-objects branch May 22, 2019 11:26
@23Skidoo
Copy link
Contributor

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants