def upgrade():
"""Upgrade the database to a newer revision."""
# commands auto generated by Alembic - please adjust! ###
op.create_unique_constraint(None, 'ecosystems', ['name'])
# end Alembic commands ###
2ff043a5af5b_make_ecosystem_name_unique.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录