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

Database validations #12

Merged
merged 13 commits into from
Mar 18, 2022
Merged

Database validations #12

merged 13 commits into from
Mar 18, 2022

Conversation

amirrezaask
Copy link
Contributor

This PR will add database validations:

  • Checking all tables that are inferred from user-defined entities are present in database
  • Check all inferred tables schemas with what is in the database.

@coveralls
Copy link

coveralls commented Mar 17, 2022

Pull Request Test Coverage Report for Build 2003221965

  • 115 of 139 (82.73%) changed or added relevant lines in 5 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 84.485%

Changes Missing Coverage Covered Lines Changed/Added Lines %
binder.go 2 4 50.0%
connection.go 58 65 89.23%
orm.go 28 35 80.0%
dialect.go 26 34 76.47%
Files with Coverage Reduction New Missed Lines %
binder.go 2 88.89%
Totals Coverage Status
Change from base Build 2001214546: -0.2%
Covered Lines: 1296
Relevant Lines: 1534

💛 - Coveralls

@amirrezaask amirrezaask merged commit 3fb4308 into master Mar 18, 2022
@amirrezaask amirrezaask deleted the database-validations branch March 18, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants