php bin/console doctrine:migrations:sync-metadata-storage

Ensures that the metadata storage is at the latest version.

Usage

doctrine:migrations:sync-metadata-storage [--configuration CONFIGURATION] [--em EM] [--conn CONN]

Options

      --configuration   The path to a migrations configuration file. <comment>[default: any of migrations.{php,xml,json,yml,yaml}]</comment> 
      --em              The name of the entity manager to use. 
      --conn            The name of the connection to use. 

Help

The way metadata is stored in the database can change between releases.
The doctrine:migrations:sync-metadata-storage command updates metadata storage to the latest version,
ensuring it is ready to receive migrations generated by the current version of Doctrine Migrations.


    bin/console doctrine:migrations:sync-metadata-storage