def downgrade():
'''
downgrade method
'''
if context.get_context().dialect.name not in ('sqlite', 'mysql'):
drop_constraint('BAD_REPLICAS_STATE_CHK', 'bad_replicas', type_='check')
3d9813fab443_add_a_new_state_lost_in_badfilesstatus.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录