Back to search

What is database migration squashing in Django?

Migration squashing combines many historical migrations into a smaller set to reduce noise and startup cost.

Django Medium Theory

What is database migration squashing in Django?

Migration squashing combines many historical migrations into a smaller set to reduce noise and startup cost.

  • Good for mature apps
  • Keep history manageable
  • Needs care when teams still depend on old migration paths

What is database migration squashing in Django?