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
I ended up just leaving the max_length args in there and it seemed to start working. could not tell you why the errors earlier were consistently getting thrown.
Activity
yasamoka commentedon Oct 11, 2021
Try this:
yudjinn commentedon Oct 11, 2021
This started working for some reason, genuinely not sure what resolved; maybe new version of fastapi?
yasamoka commentedon Oct 11, 2021
How is it even related to FastAPI? SQLModel is still at version 0.0.4.
yudjinn commentedon Oct 12, 2021
Fair point. I'm just genuinely not sure why it started working. waited a couple days, didnt even close the project, and it started working.
yudjinn commentedon Oct 12, 2021
I ended up just leaving the max_length args in there and it seemed to start working. could not tell you why the errors earlier were consistently getting thrown.
PaleNeutron commentedon Jan 10, 2024
2 years passed, is There any official solution?
patrickwasp commentedon Apr 3, 2024
@PaleNeutron this is what worked for me when migrating the model to mysql8. Just adding the
max_lengthfield did not change the size of the varchar.