-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix dump table name error and add some test for dump database #6394
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6394 +/- ##
=========================================
Coverage ? 38.86%
=========================================
Files ? 365
Lines ? 51389
Branches ? 0
=========================================
Hits ? 19971
Misses ? 28546
Partials ? 2872
Continue to review full report at Codecov.
|
Will add some dump integration tests after this merged. |
models/models.go
Outdated
x *xorm.Engine | ||
tables []interface{} | ||
x *xorm.Engine | ||
supportedDatabse = []string{"mysql", "postgres", "mssql"} |
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.
Small typo nit, should be supportedDatabase
or supportedDatabases
and refactored as needed where used.
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.
done. It's strange that misspell check failed.
but need to run fmt |
@lunny merged. Please backport 😄 |
Will fix #6310 and replace #6385