def METHOD_NAME() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    conn = op.get_bind()
    inspector = Inspector.from_engine(conn)
    # List existing tables
    existing_tables = inspector.get_table_names()
    if "flow" in existing_tables:
        with op.batch_alter_table("flow", schema=None) as batch_op:
            batch_op.drop_index(batch_op.f("ix_flow_user_id"))
            batch_op.drop_index(batch_op.f("ix_flow_name"))
            batch_op.drop_index(batch_op.f("ix_flow_description"))
        op.drop_table("flow")
    if "apikey" in existing_tables:
        with op.batch_alter_table("apikey", schema=None) as batch_op:
            batch_op.drop_index(batch_op.f("ix_apikey_user_id"))
            batch_op.drop_index(batch_op.f("ix_apikey_name"))
            batch_op.drop_index(batch_op.f("ix_apikey_api_key"))
        op.drop_table("apikey")
    if "user" in existing_tables:
        with op.batch_alter_table("user", schema=None) as batch_op:
            batch_op.drop_index(batch_op.f("ix_user_username"))
        op.drop_table("user")
    if "flowstyle" in existing_tables:
        op.drop_table("flowstyle")
    if "component" in existing_tables:
        op.drop_table("component")
    # ### end Alembic commands ###