diff --git a/migrations/versions/13113e5710da_.py b/migrations/versions/13113e5710da_.py index 5c40927..70eed06 100644 --- a/migrations/versions/13113e5710da_.py +++ b/migrations/versions/13113e5710da_.py @@ -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 ###