Closed Bug 974712 Opened 9 years ago Closed 8 years ago

When there are no apps using the same IARC submission_id, add db level constraints

Categories

(Marketplace Graveyard :: Code Quality, defect, P3)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: robhudson, Unassigned)

References

Details

See bug 972437.

We need to add a db contraint:
ALTER TABLE `webapps_iarc_info` ADD UNIQUE (`submission_id`);

Also update the `IARCInfo` model to add `unique=True`.
Blocks: 929812
IARCInfo will go away when we switch to IARC v2. The new model, IARCCert, uses UUIDField which adds the unique constraint by default.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.