Add management commands for working with evolutions and project signatures.

Review Request #13109 — Created June 16, 2023 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

This introduces two new management commands:

  • evolution-project-sig: Lists, shows, or deletes project signatures
  • mark-evolution-applied: Marks one or more evolutions as applied to
    the database.

These are advanced commands that are only intended for use when
diagnosing and repairing database upgrades, under the guidance of a
developer/support representative. They can permanently damage database
upgrades if not careful.

Both commands prompt for confirmation before executing any destructive
operations, with a big scary warning.

I've had these around in my tree for a while, using them to work on
database repairs. They've been pretty thoroughly tested.

Commits

Files