]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix ill-formed column definition in migration downgrade step.
authorEugene Nikanorov <enikanorov@mirantis.com>
Tue, 30 Jul 2013 17:56:12 +0000 (21:56 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Tue, 30 Jul 2013 17:56:12 +0000 (21:56 +0400)
fixes bug 1206612

Change-Id: I64a5850cfef28cc4c7f32bdbf50420dc92e4e6f5

neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py

index cb93f6c9f5632142e0b7bf6e2a9ed78318c20c5a..daf9dbbffafd9de5c24462251c1e1c350e2f5148 100644 (file)
@@ -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(