Fix ill-formed column definition in migration downgrade step.

fixes bug 1206612

Change-Id: I64a5850cfef28cc4c7f32bdbf50420dc92e4e6f5
This commit is contained in:
Eugene Nikanorov 2013-07-30 21:56:12 +04:00
parent 331b1d4ee2
commit 54beb19acc

View 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(