From: Ann Kamyshnikova Date: Thu, 24 Apr 2014 11:34:45 +0000 (+0400) Subject: Fix incorrect usage of sa.String() type X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e575fde4cbe9b23cfc103e2de2f4052dd5874b02;p=openstack-build%2Fneutron-build.git 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 --- diff --git a/neutron/db/migration/alembic_migrations/versions/4eca4a84f08a_remove_ml2_cisco_cred_db.py b/neutron/db/migration/alembic_migrations/versions/4eca4a84f08a_remove_ml2_cisco_cred_db.py index ed1e8316c..10bc6fee8 100644 --- a/neutron/db/migration/alembic_migrations/versions/4eca4a84f08a_remove_ml2_cisco_cred_db.py +++ b/neutron/db/migration/alembic_migrations/versions/4eca4a84f08a_remove_ml2_cisco_cred_db.py @@ -50,10 +50,10 @@ def downgrade(active_plugins=None, options=None): op.create_table( 'cisco_ml2_credentials', - sa.Column('credential_id', sa.string(length=255), nullable=True), - sa.Column('tenant_id', 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('password', 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('credential_name', sa.String(length=255), nullable=False), + sa.Column('user_name', sa.String(length=255), nullable=True), + sa.Column('password', sa.String(length=255), nullable=True), sa.PrimaryKeyConstraint('tenant_id', 'credential_name') )