No commands defined in the "doctrine:schema" namespace

I’m attempting to run “php bin/console doctrine:schema:update --force” on a fresh install of Pimcore 6.2.3, but I get the following error:

  There are no commands defined in the "doctrine:schema" namespace.

  Did you mean one of these?
      doctrine
      doctrine:cache
      doctrine:database
      doctrine:generate
      doctrine:query

How do I get that enabled?