Fix incorrect usage of sa.String() type
In downgrade of 4eca4a84f08a_remove_ml2_cisco_cred_db migartion there is a mistake in usage SQLAlchemy String type. Used sa.string() instead of sa.String() Change-Id: I521dd63ca2b48e902ca2cb17c45a3fe996b060e7 Closes-bug: #1312124
This commit is contained in:
parent
fc312c50c3
commit
11864ba5a6
@ -50,10 +50,10 @@ def downgrade(active_plugins=None, options=None):
|
|||||||
|
|
||||||
op.create_table(
|
op.create_table(
|
||||||
'cisco_ml2_credentials',
|
'cisco_ml2_credentials',
|
||||||
sa.Column('credential_id', sa.string(length=255), nullable=True),
|
sa.Column('credential_id', sa.String(length=255), nullable=True),
|
||||||
sa.Column('tenant_id', sa.string(length=255), nullable=False),
|
sa.Column('tenant_id', sa.String(length=255), nullable=False),
|
||||||
sa.Column('credential_name', sa.string(length=255), nullable=False),
|
sa.Column('credential_name', sa.String(length=255), nullable=False),
|
||||||
sa.Column('user_name', sa.string(length=255), nullable=True),
|
sa.Column('user_name', sa.String(length=255), nullable=True),
|
||||||
sa.Column('password', sa.string(length=255), nullable=True),
|
sa.Column('password', sa.String(length=255), nullable=True),
|
||||||
sa.PrimaryKeyConstraint('tenant_id', 'credential_name')
|
sa.PrimaryKeyConstraint('tenant_id', 'credential_name')
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user