You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tyt2y3 In the latest sear orm cli, I encountered this problem again. I almost forgot that I had mentioned this issue before and it still hasn't been resolved. I think we should map medium int to big int, instead of treating it as a string like this, which is obviously wrong. Moreover, the generated model is completely unusable.
Description
generate model using latest stable cli
a table has field type
MEDIUMINT UNSIGNED
was generated asString
which is wrong, should be number types.Steps to Reproduce
create a demo database, which as a demo table, has a field
invited_by
with typeMEDIUMINT UNSIGNED
2.
Expected Behavior
the model should generate something like:
Actual Behavior
Reproduces How Often
always
Workarounds
manual fixup after generation
Reproducible Example
Versions
sea-orm-cli -V
sea-orm-cli 0.11.1
The text was updated successfully, but these errors were encountered: