Deleting an Archive should cause a cascading delete on FKs to Archive
Bug #544046 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Julian Edwards |
Bug Description
Deleting an Archive should cause a cascading delete on FKs to Archive. This is in preparation to fixing bug 392887.
Related branches
lp:~julian-edwards/launchpad/cascading-delete-ppa
- Stuart Bishop (community): Approve (db)
- Björn Tillenius: Pending (db) requested
- Canonical Launchpad Engineering: Pending requested
-
Diff: 99 lines (+95/-0)1 file modifieddatabase/schema/patch-2207-41-0.sql (+95/-0)
tags: | removed: qa-needstesting |
tags: | added: qa-untestable |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
SPRs should not be deleted just because the upload_archive points to the PPA being deleted. Having discussed this with Cody, we're going to set it to NULL to indicate that the original PPA was deleted.
We then need a separate cascading deletion for SPR and things with a FK to it.