Replies: 2 comments
-
Same here, alembic migrations are failing as GUID type is absent. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same. After upgrading sqlmodel I had to go back and modify my migration files from
to
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Hi!
I see that in 0.0.20, you released UUID support through #992 (and that's super cool! ✨).
I came upon an issue after upgrading to this version since the class
sqlmodel.sql.sqltypes.GUID
disappeared but it is used in existing alembic migrations.I read #992 in details and I get why it disappears and that you now return
sqlalchemy.types.Uuid
(code).However I'd suggest adding a Breaking change section to the release 0.0.20 with a few details about how to migrate from
sqlalchemy.types.Uuid
orsqlalchemy.types.UUID
to save time for others having the same issue upgrading.Would you be open to this?
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.16
Python Version
3.11.8
Additional Context
The issue I describe arises when migrating from 0.0.16 to 0.0.21 but I'm fairly sure this comes from 0.0.20.
Beta Was this translation helpful? Give feedback.
All reactions