Fix ill-formed column definition in migration downgrade step.
fixes bug 1206612 Change-Id: I64a5850cfef28cc4c7f32bdbf50420dc92e4e6f5
This commit is contained in:
parent
d82bcb8c6b
commit
932480ab05
@ -63,7 +63,7 @@ def downgrade(active_plugin=None, options=None):
|
|||||||
sa.Column('name', sa.String(255)),
|
sa.Column('name', sa.String(255)),
|
||||||
sa.Column('description', sa.String(255)),
|
sa.Column('description', sa.String(255)),
|
||||||
sa.Column('default', sa.Boolean(), nullable=False, default=False),
|
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')
|
sa.PrimaryKeyConstraint('id')
|
||||||
)
|
)
|
||||||
op.create_table(
|
op.create_table(
|
||||||
|
Loading…
Reference in New Issue
Block a user