Merge lp:~wgrant/launchpad/rargh-foreign-keys into lp:launchpad/db-devel
Proposed by
William Grant
Status: | Merged |
---|---|
Merged at revision: | 11397 |
Proposed branch: | lp:~wgrant/launchpad/rargh-foreign-keys |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
19 lines (+15/-0) 1 file modified
database/schema/patch-2209-11-2.sql (+15/-0) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/rargh-foreign-keys |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | db | Approve | |
Robert Collins | db | Pending | |
Review via email: mp+94069@code.launchpad.net |
Commit message
Add DB patch 2209-11-2 to drop foreign keys that prevent that tables dropped by 11-1 from actually being dropped.
Description of the change
I am a moron. upgrade.py drops todrop tables in undefined order, so I need to drop foreign keys between dropped tables or the post-patching replication fixup breaks. I've confirmed on a local replicated setup that this fixes both the staging (11-1 already applied but dropping failed) and production (neither already applied) cases.
To post a comment you must log in.
heh, doit.