-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
Field name 'is_2fa' converted to 'is2fa' during insertion in SeaORM #2114
Comments
What is your Entity definition? |
This is my database model with some fields omitted。
|
Thanks, but I mean how the SeaORM entity file look like? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When generating entity with SeaORM, the insertion statement unexpectedly transforms the field name "is_2fa" into "is2fa".
Steps to Reproduce
sea-orm-cli generate entity --database-url postgres://postgres:password@host:5432/dbname -o src/entity --with-serde both --expanded-format
2.
Versions
sea-orm-cli 0.12.14
sea-orm = { version = "0.12.14", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros", "debug-print"] }
The text was updated successfully, but these errors were encountered: