Skip to content

Glossary: Building APIs with FastAPI

Migration

Also written: migrations

A scripted change to existing database tables, made without losing data. `create_all` never alters existing tables, so real projects use a migration tool such as Alembic.

Where the book teaches it

Related terms

AlembicTable model