def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('ippool', sa.Column('node_id', sa.Integer(), nullable=True))
op.create_foreign_key(u'ippool_node_id_fkey', 'ippool', 'nodes', ['node_id'], ['id'])
### end Alembic commands ###
30ad174aa45a_add_relation_between_node_and_ippool.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录