Video coming soon

The recording for this lesson has not been published yet.

What we cover

  • What makemigrations actually writes
  • Defaults, nullable columns and three-step changes
  • Data migrations with RunPython
  • Inspecting SQL with sqlmigrate
  • Squashing and fixing broken migration history
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.

After this lesson you will

  • Read and understand a generated migration file
  • Add non-null fields to a table that has data
  • Move data with a migration instead of by hand