Installations migrating from 3.3.0 to 3.3.1 will be broken (without data loss)
By modifying a prior migration, we accidentally created a mismatch between the schema we expect and the schema Django seems to interpret and enforce, presumably due to some kind of optimization being employed.
It seems that because Django sees that migration 0005 made the 'last_sync_revision_number' column nullable (it didn't, it was modified afterwards) , it ignores when migration 0009 tells Django to perform that migration later. Thus the 'last_sync_revision_number' column remains non-nullable.
This impacts Pulp users by throwing the following error when creating new RPM repositories.
django.db.utils.IntegrityError: null value in column "last_sync_revision_number" violates not-null constraint