mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 05:52:24 +01:00
Fix migration
This commit is contained in:
parent
7b4b9a0562
commit
8d1f4e47fc
@ -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 ###
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user