forked from openstack/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Cor Cornelisse
committed
Dec 22, 2011
1 parent
5bcaecd
commit d503d6b
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters