Change useexisting to extend_existing to fix deprecation warnings.
This squelches a deprecation warning during installation. We're already using extend_existing in other places, so I don't think this causes any new version compatibility issues. Fixes bug 925609. (Already marked fixed, but this hits more cases.) Includes some merges with a whitespace-cleanup fix. Change-Id: Ia166e9184ed3e13753c5669a1006a3711738319a
This commit is contained in:
parent
6e43a9691b
commit
baf402652b
|
@ -50,7 +50,7 @@ def get_images_table(meta):
|
|||
default=False,
|
||||
index=True),
|
||||
mysql_engine='InnoDB',
|
||||
useexisting=True)
|
||||
extend_existing=True)
|
||||
|
||||
return images
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ def get_images_table(meta):
|
|||
default=False,
|
||||
index=True),
|
||||
mysql_engine='InnoDB',
|
||||
useexisting=True)
|
||||
extend_existing=True)
|
||||
|
||||
return images
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ def get_image_properties_table(meta):
|
|||
index=True),
|
||||
UniqueConstraint('image_id', 'name'),
|
||||
mysql_engine='InnoDB',
|
||||
useexisting=True)
|
||||
extend_existing=True)
|
||||
|
||||
return image_properties
|
||||
|
||||
|
|
Loading…
Reference in New Issue