-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SQLX Mysql Enum decode error #1379
Comments
One way to solve this is to overwrite the FromRow trait as such.
The |
I am experiencing the same issue; I've added |
Just stumble upon this issue with |
After digging into this found out https://github.com/launchbadge/sqlx/blob/main/sqlx-mysql/src/type_info.rs#L109 is a problem. It works if the column is nullable and have a default value otherwise it will fails. |
The text was updated successfully, but these errors were encountered: