ce2812d3ceb5_allow_duplicate_datasets.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:ml-annotate 作者: planbrothers 项目源码 文件源码
def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint('uq_dataset_problem_idtable_name_entity_id', 'dataset', ['problem_id', 'table_name', 'entity_id'])
    op.drop_constraint('uq_dataset_table_name_entity_id', 'dataset', type_='unique')
    # ### end Alembic commands ###
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号