diff options
| author | Cor Cornelisse <cor@hyves.nl> | 2011-12-21 12:46:58 +0100 |
|---|---|---|
| committer | Cor Cornelisse <cor@hyves.nl> | 2011-12-22 18:35:09 +0100 |
| commit | d503d6b1079f9eafe0430754214fc5b6d4e32c09 (patch) | |
| tree | 7486a5a4f4ff03d3c842a50bab2eaac67f1075ee /tools/nova-debug | |
| parent | 5bcaecdc7d42b8a4aa2f16e96c064869438d6a12 (diff) | |
| download | nova-d503d6b1079f9eafe0430754214fc5b6d4e32c09.tar.gz nova-d503d6b1079f9eafe0430754214fc5b6d4e32c09.tar.xz nova-d503d6b1079f9eafe0430754214fc5b6d4e32c09.zip | |
Use SQLAlchemy to drop foreign key in DB migrate
A foreign key constraint needs to be removed in order to succeed in the
DB migration. An earlier submitted fix for this uses a mysql drop
statement. I think it's cleaner to use sqlalchemy to do this, as it's
done this way in other version migrations as well. Fix for bug 907254.
Update: IBM from 1928 called, they want their 80 CPL limit
back. - on a more serious note, fixed jenkins PEP8 failure
Update2: Replaced tab by a spaces
Update3: Don't do Foreign Key stuff if the engine is sqlite
Update4: Add myself to the Authors file
Update5: With the correct mail address
Change-Id: Ib021e0ddb2c80ee63888435a9e3761c053534160
Diffstat (limited to 'tools/nova-debug')
0 files changed, 0 insertions, 0 deletions
