Fix migration

This commit is contained in:
rubenwardy 2018-05-23 20:55:03 +01:00
parent 7b4b9a0562
commit 8d1f4e47fc
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C

@ -18,7 +18,7 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('package', sa.Column('created_at', sa.DateTime(), nullable=False))
op.add_column('package', sa.Column('created_at', sa.DateTime(), nullable=False, server_default=sa.func.current_timestamp()))
# ### end Alembic commands ###