-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
CI: Clippy, MySQL & Postgres #21
Conversation
Discovery behaviour difference on MySQL vs MariaDB. Creating the same table but schema discovery results are different. @tyt2y3 MySQL, https://github.com/SeaQL/sea-schema/runs/3974821329?check_suite_focus=true#step:10:1164
MariaDB, https://github.com/SeaQL/sea-schema/runs/3974821107?check_suite_focus=true#step:10:1298
|
Both are semantically equivalent. It's hard to be verbatim exact. |
Perhaps we can skip the |
Well we actually need a looser way to compare two statements, like ignoring the integer widths and 'default null'. But Postgres is all fine? |
All fine |
Hey @tyt2y3, seems that for MySQL 8 the information schema changed? It fail to parse the column length of integer column.
GitHub Actions |
I think it was deprecated in 8. |
Okay a better idea is to have a normalise() method to strip out the irrelevant stuff so they will be equivalent. |
Strip the asserting |
Ready for review & merge @tyt2y3 |
No description provided.