php bin/console doctrine:migrations:generate

Generate a blank migration class.

Usage

doctrine:migrations:generate [--namespace NAMESPACE] [--configuration CONFIGURATION] [--em EM] [--conn CONN]

Options

      --namespace       The namespace to use for the migration (must be in the list of configured namespaces) 
      --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 doctrine:migrations:generate command generates a blank migration class:

    bin/console doctrine:migrations:generate