def downgrade():
    for table in ('user', 'feed', 'category'):
        for option in CLUSTER_CONF_OPTIONS:
            op.drop_column(table, option)
    op.add_column('category', sa.Column('cluster_on_title', sa.BOOLEAN(), autoincrement=False, nullable=True))
def downgrade():
    for table in ('user', 'feed', 'category'):
        for option in CLUSTER_CONF_OPTIONS:
            op.drop_column(table, option)
    op.add_column('category', sa.Column('cluster_on_title', sa.BOOLEAN(), autoincrement=False, nullable=True))