From: Eugene Nikanorov Date: Tue, 30 Jul 2013 17:56:12 +0000 (+0400) Subject: Fix ill-formed column definition in migration downgrade step. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=54beb19acc8b820e8a8ac03bb544e85d542a6e48;p=openstack-build%2Fneutron-build.git Fix ill-formed column definition in migration downgrade step. fixes bug 1206612 Change-Id: I64a5850cfef28cc4c7f32bdbf50420dc92e4e6f5 --- diff --git a/neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py b/neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py index cb93f6c9f..daf9dbbff 100644 --- a/neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py +++ b/neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py @@ -63,7 +63,7 @@ def downgrade(active_plugin=None, options=None): sa.Column('name', sa.String(255)), sa.Column('description', sa.String(255)), sa.Column('default', sa.Boolean(), nullable=False, default=False), - sa.Column('num_instances', sa.Column(sa.Integer(), default=0)), + sa.Column('num_instances', sa.Integer, default=0), sa.PrimaryKeyConstraint('id') ) op.create_table(