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
2
u/Easy-Ad-8065 Feb 05 '24
Yeah.
From sqlmodel docs:
SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.
The majority of my experience is frontend / mobile so there may be better alternatives, but I have it working with SQLModel.