Merge lp:~toabctl/loco-team-portal/duplicate-venues_fix-528828 into lp:loco-team-portal
Status: | Merged |
---|---|
Approved by: | Michael Hall on 2010-03-17 |
Approved revision: | 70 |
Merged at revision: | not available |
Proposed branch: | lp:~toabctl/loco-team-portal/duplicate-venues_fix-528828 |
Merge into: | lp:loco-team-portal |
Diff against target: |
61 lines (+47/-0) 2 files modified
loco_directory/venues/migrations/0002_add_unique_together.py (+44/-0) loco_directory/venues/models.py (+3/-0) |
To merge this branch: | bzr merge lp:~toabctl/loco-team-portal/duplicate-venues_fix-528828 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hall (community) | 2010-02-28 | Approve on 2010-03-08 | |
Review via email:
|
Thomas Bechtold (toabctl) wrote : | # |
Michael Hall (mhall119) wrote : | # |
It looks good to me. Can we query the database before running the migration, to make sure there aren't currently any duplicates? If there are, it will probably fail to apply the database changes.
Daniel Holbach (dholbach) wrote : | # |
Has this been merged? What exactly needs to be done? By the IS team?
Michael Hall (mhall119) wrote : | # |
We just need to make sure that the data we currently have doesn't conflict with the new constraints before IS runs the migration script.
Daniel Holbach (dholbach) wrote : | # |
What's the easiest way to do that? A test-case? A management command? What needs to be done with that data?
Michael Hall (mhall119) wrote : | # |
We don't have that many venues, a simple visual check over the ones we do have should be enough.
Thomas Bechtold (toabctl) wrote : | # |
i think there are no duplicates. would be good to make this schema change before we get more and more venues.
Michael Hall (mhall119) wrote : | # |
I agree, Jono is pushing more use, so the longer we wait on this, the more venues we'll have to check
Thomas Bechtold (toabctl) wrote : | # |
@mhall119: so please change status to "Approved" so we can merge this.
Michael Hall (mhall119) wrote : | # |
Sorry, thought I had done that.
Anything wrong with this fix? Why does nobody comment/merge it? Just busy?