def downgrade():
'''
downgrade method
'''
drop_table('archive_contents')
drop_table('archive_contents_history')
if context.get_context().dialect.name != 'sqlite':
drop_column('dids', 'is_archive')
drop_column('dids', 'constituent')
drop_column('deleted_dids', 'is_archive')
drop_column('deleted_dids', 'constituent')
评论列表
文章目录