Fix sqlalchemy DateTime type usage
In migration f9263d6df56_remove_dhcp_lease there is mistake in DateTime type usage for mysql, used sa.DATETIME() instead of sa.DateTime() Closes-Bug: #1250405 Change-Id: I41fcd3babc64e3307895a92f03c7417577fa7b1d
This commit is contained in:
parent
b1d56ed1a6
commit
e2163abce5
@ -42,5 +42,5 @@ def upgrade(active_plugins=None, options=None):
|
||||
|
||||
|
||||
def downgrade(active_plugins=None, options=None):
|
||||
op.add_column('ipallocations', sa.Column(u'expiration', sa.DATETIME(),
|
||||
op.add_column('ipallocations', sa.Column(u'expiration', sa.DateTime(),
|
||||
nullable=True))
|
||||
|
Loading…
x
Reference in New Issue
Block a user