Attempting to run doctrine:migrations:diff

I’m attempting to run the doctrine:migrations:diff command to change a Coreshop model as documented here: When I do, I get the following error:

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

Did you mean one of these?

How do I best go about enabling that in Pimcore v6.2.1?

it seems that the DoctrineMigrationsBundle is not enabled from Pimcore by default. But: I always do it this way:

php bin/console doctrine:schema:update --dump-sql

Copy Result and run

php bin/console pimcore:migrations:generate

and paste the resulting sql into the migration like:

public function up(Schema $schema) {
    $this->addSql('SQL HERE')

When I did that, there were various changes for coreshop_product_unit_definition, but nothing for the table I’m attempting to modify (coreshop_store). I followed the guide on CoreShop, with the exception of the first steps (extending AbstractResourceBundle, and adding getSupportedDrivers and getModelNamespace). I’m still relatively new to Symfony, so I’m not entirely positive where those steps need to take place. Would those steps be required for the migration to take place? I am just working out of AppBundle, so I attempted to add it to AppBundle.php, but that didn’t seem to work.

have you tried clearing the cache? eg. truncate table cache and cache_tags?

I hadn’t done that before, but that didn’t seem to make a difference.