PackageUpload* table subclassing must be fixed
Bug #36470 reported by
Mark Shuttleworth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
We have a standard way to deal with slightly polymorphic objects, and that is to make tables that can accommodate all variants and leave some fields NULL'able.
The PackageUpload, PackageUploadBuild, PackageUploadSource and PackageUploadCustom tables should please all be collapsed into PackageUpload.
This will greatly simplify code like PackageUpload.
Changed in soyuz: | |
assignee: | nobody → dsilvers |
Changed in soyuz: | |
assignee: | dsilvers → cprov |
status: | Unconfirmed → Confirmed |
Changed in soyuz: | |
assignee: | Celso Providelo (cprov) → nobody |
To post a comment you must log in.
I'm committing a database patch to database/ schema/ pending/ stub-distrorele asequeue. sql that adds this as well as the refactoring requested in Bug #36472.