def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_constraint('unq_repo_name', 'repository', type_='unique')
op.create_unique_constraint('unq_repo_name', 'repository', ['owner_name', 'name'])
# ### end Alembic commands ###
评论列表
文章目录