Merge lp:~wgrant/launchpad/sprbu-columns-to-sprb into lp:launchpad/db-devel
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Björn Tillenius on 2010-02-19 | ||||
| Approved revision: | not available | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~wgrant/launchpad/sprbu-columns-to-sprb | ||||
| Merge into: | lp:launchpad/db-devel | ||||
| Diff against target: |
105 lines (+25/-26) 5 files modified
database/sampledata/current-dev.sql (+0/-7) database/sampledata/current.sql (+0/-7) database/schema/comments.sql (+4/-10) database/schema/patch-2207-32-0.sql (+21/-0) database/schema/security.cfg (+0/-2) |
||||
| To merge this branch: | bzr merge lp:~wgrant/launchpad/sprbu-columns-to-sprb | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Björn Tillenius (community) | db | 2010-02-15 | Approve on 2010-02-19 |
| Stuart Bishop | db | 2010-02-10 | Approve on 2010-02-15 |
| Julian Edwards (community) | 2010-02-10 | Approve on 2010-02-12 | |
| Jonathan Lange (community) | 2010-02-10 | Abstain on 2010-02-11 | |
|
Review via email:
|
|||
Commit Message
Drop SourcePackageRe
| William Grant (wgrant) wrote : | # |
| Jonathan Lange (jml) wrote : | # |
Thanks William.
It looks good to me and the changes seem sane, but I don't really feel competent to review it -- the details of the model have flown out of my head. Could you please ask Julian or Michael H or someone else to review this?
| Stuart Bishop (stub) wrote : | # |
I'm unsure of upload_log. Dropping this column in the future and migrating its information to SourcePackageRe
We should either drop this column from the patch and create SourcePackageRe
| William Grant (wgrant) wrote : | # |
It's unclear whether we will ever use SourcePackageRe
What's the purpose of the index? I can't imagine any practical query in which it would be useful.
| Stuart Bishop (stub) wrote : | # |
Discussed with bigjools, so SourcepackageRe
SET client_
ALTER TABLE SourcePackageRe
ALTER TABLE SourcePackageRe
DEFAULT 0 NOT NULL;
ALTER TABLE SourcePackageRe
CONSTRAINT sourcepackagere
REFERENCES LibraryFileAlias;
CREATE INDEX sourcepackagere
ON SourcePackageRe
-- We can't drop tables in DB patches due to Slony-I limitations, so
-- we give them a magic name for database/
-- with correctly.
ALTER TABLE SourcePackageRe
INSERT INTO LaunchpadDataba
| Björn Tillenius (bjornt) wrote : | # |
Looks good. You still have a '--- SourcePackageRe
| William Grant (wgrant) wrote : | # |
I actually don't have that -- it's a glitch in the diff highlighting. It's really the removal of '-- SourcePackageRe

We need some new attributes on SourcePackageRe cipeBuild:
- pocket -- just like on Build, currently hardcoded to RELEASE in the model. cipeBuildUpload , which we're not using for now.
- dependencies -- just like on Build, to store missing build dependencies.
- upload_log -- just like on Build, to store the upload log. This was on SourcePackageRe