Closed Bug 1202363 Opened 9 years ago Closed 8 years ago

Unique constraints in the reference data should be enforced at the db level

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mdoglio, Unassigned)

References

Details

There are several tables in the reference data schema that should have a unique constraint. It's easy to spot them looking at the data insertion queries in https://github.com/mozilla/treeherder/blob/b8872e574249fb9226628b22ce8fd83f81899248/treeherder/model/sql/reference.json.
Depends on: 1282907
Bug 1282907 took care of a chunk of these, but some still remain.
I think we're pretty much good here now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.