php bin/console make:migration

Creates a new migration based on database changes

Usage

make:migration [--db DB] [--em [EM]] [--shard SHARD]

Options

      --db      The database connection name 
      --em      The entity manager name 
      --shard   The shard connection name 

Help

The make:migration command generates a new migration:

php bin/console make:migration