def upgrade():
"""Upgrade the database to a newer revision."""
# commands auto generated by Alembic - please adjust! ###
op.add_column('analysis_requests', sa.Column('parent_id', sa.Integer(), nullable=True))
op.add_column('worker_results', sa.Column('worker_id', sa.String(length=64), nullable=True))
op.create_unique_constraint(None, 'worker_results', ['worker_id'])
# end Alembic commands ###
02b91e918b43_migrate_to_dynamic_control_flow.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录