Skip to content

Glossary: Building APIs with FastAPI

Alembic

A database migration tool for SQLAlchemy and SQLModel that changes existing tables, such as adding a column, without losing data. It is what you reach for once `create_all`, which never alters existing tables, is no longer enough.

Where the book teaches it

Related terms

MigrationSQLAlchemy