1:02:49
Migrations and understanding Django's relationship with its database
DjangoCon Europe 2021 · July 31, 2021
Django uses the ORM for data operations and migrations for database schema changes, representing a graph of steps that brings the database into line with the model classes. The speaker demonstrates common migration problems: application-side defaults are not database defaults, divergent branches can require merge…