Missing foreign key constraints for Node.current_testing_script_set and friends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Björn Tillenius |
Bug Description
The 'current_
current_
blank=True,
null=True,
)
But if you look in the database, there's no FOREIGN KEY constraint for that column.
Further more, it seems like the 'on_delete=
See bug 1996074 for an example where this caused a problem.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 3.3.0 |
assignee: | nobody → Björn Tillenius (bjornt) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 3.3.0 → 3.4.0 |
status: | In Progress → Triaged |
assignee: | Björn Tillenius (bjornt) → nobody |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
By the looks of this, this is not trivial to fix. I'll take a stab at it on Tuesday. If I'm not able to do it then, I'll push it to 3.4.