php bin/console doctrine:schema:validate

Validate the mapping files

Usage

doctrine:schema:validate [--em EM] [--skip-mapping] [--skip-sync]

Options

      --em             Name of the entity manager to operate on 
      --skip-mapping   Skip the mapping validation check 
      --skip-sync      Skip checking if the mapping is in sync with the database 

Help

Validate that the mapping files are correct and in sync with the database.