php bin/console doctrine:schema:validate

Validate the mapping files

Usage

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

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 
      --skip-property-types   Skip checking if property types match the Doctrine types 

Help

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