php bin/console doctrine:migrations:execute
Execute one or more migration versions up or down manually.
Usage
doctrine:migrations:execute [--write-sql [WRITE-SQL]] [--dry-run] [--up] [--down] [--query-time] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] <versions>...
                            Arguments
versions   The versions to execute. 
            
                        Options
      --write-sql       The path to output the migration SQL file. Defaults to current working directory. 
      --dry-run         Execute the migration as a dry run. 
      --up              Execute the migration up. 
      --down            Execute the migration down. 
      --query-time      Time all the queries individually. 
      --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:execute command executes migration versions up or down manually:
    bin/console doctrine:migrations:execute FQCN
You can show more information about the process by increasing the verbosity level. To see the
executed queries, set the level to debug with -vv :
    bin/console doctrine:migrations:execute FQCN -vv
If no --up  or --down  option is specified it defaults to up:
    bin/console doctrine:migrations:execute FQCN --down
You can also execute the migration as a --dry-run :
    bin/console doctrine:migrations:execute FQCN --dry-run
You can output the prepared SQL statements to a file with --write-sql :
    bin/console doctrine:migrations:execute FQCN --write-sql
Or you can also execute the migration without a warning message which you need to interact with:
    bin/console doctrine:migrations:execute FQCN --no-interaction
All the previous commands accept multiple migration versions, allowing you run execute more than
one migration at once:
    bin/console doctrine:migrations:execute FQCN-1 FQCN-2 ...FQCN-n