php bin/console doctrine:schema:create

Executes (or dumps) the SQL needed to generate the database schema

Usage

doctrine:schema:create [--dump-sql] [--em [EM]]

Options

      --dump-sql   Instead of trying to apply generated SQLs into EntityManager Storage Connection, output them. 
      --em         The entity manager to use for this command 

Help

Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output.

Hint: If you have a database with tables that should not be managed
by the ORM, you can use a DBAL functionality to filter the tables and sequences down
on a global level:

    $config->setFilterSchemaAssetsExpression($regexp);