Ticket #413 (closed defect: fixed)
Oracle backend throws an error in backward migration if a model does not have an AutoField
|Reported by:||Siddharta <siddharta@…>||Owned by:||andrew|
When a model has an AutoField?, the oracle backend creates a SEQUENCE for it. The sequence is dropped in the backward migration.
If a model does not have an AutoField? (some existing field is explicitly marked as a primary key), then the sequence is not created. The backward migration still tries to drop the sequence, but since the sequence does not exist, it throws an error.