title: Laravel : generate migrations from 2 MySQL databases
body: <p>I've divided my database into 2 databases on MySQL and I'd like to generate migrations from both databases on laravel. 
  I made all the configurations but when I execute the command "php artisan migrate:generate" it creates migrations only for the first database.
  Does anyone know how to create the migrations of the 2 databases ?</p>
  
  <p>Thanks for your help :)</p>
  
  <p>My config/database.php file</p>
  
  <pre><code>'mysql' =&gt; [
          'driver' =&gt; 'mysql',
          'host' =&gt; env('DB_HOST', '127.0.0.1'),
          'port' =&gt; env('DB_PORT', '3306'),
          'database' =&gt; env('DB_DATABASE', 'forge'),
          'username' =&gt; env('DB_USERNAME', 'forge'),
          'password' =&gt; env('DB_PASSWORD', ''),
          'unix_socket' =&gt; env('DB_SOCKET', ''),
          'charset' =&gt; 'utf8mb4',
          'collation' =&gt; 'utf8mb4_unicode_ci',
          'prefix' =&gt; '',
          'strict' =&gt; false,
          'engine' =&gt; 'InnoDB ROW_FORMAT=DYNAMIC' ,
      ], 
  
  'mysql2' =&gt; [
          'driver' =&gt; 'mysql',
          'host' =&gt; env('DB_HOST_2', '127.0.0.1'),
          'port' =&gt; env('DB_PORT_2', '3306'),
          'database' =&gt; env('DB_DATABASE_2', 'forge1'),
          'username' =&gt; env('DB_USERNAME_2', 'forge1'),
          'password' =&gt; env('DB_PASSWORD_2', ''),
          'unix_socket' =&gt; env('DB_SOCKET_2', ''),
          'charset' =&gt; 'utf8mb4',
          'collation' =&gt; 'utf8mb4_unicode_ci',
          'prefix' =&gt; '',
          'strict' =&gt; false,
          'engine' =&gt; 'InnoDB ROW_FORMAT=DYNAMIC' ,
      ],
  </code></pre>
  
  <p>My .env file</p>
  
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=evamesure
  DB_USERNAME=root
  DB_PASSWORD=
  
  DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=evamesure1
  DB_USERNAME=root
  DB_PASSWORD=
  </code></pre>