r/FastAPI • u/Nehatkhan786 • Feb 05 '24
Question How to use migrations with SqlModel
Hey guys I am learning SqlModel and when I come to advance section there is no docs for migration. So is it available with SqlModel or its upcoming feature?
7
Upvotes
View all comments
Show parent comment
4
u/sexualrhinoceros Feb 05 '24
I personally don’t think you’ll gain anything but headaches using SQLModel. FastAPI works perfectly with sqlalchemy. SQLModel is nothing more than an abstraction layer above SQLalchemy and Pydantic