def downgrade(): ''' downgrade method ''' if context.get_context().dialect.name != 'sqlite': drop_column('subscriptions', 'comments')