title: ErrorException: Creating default object from empty value
body: <p>I created table migrations in Laravel using <code>php artisan migrate:make</code>. When I tried to create the tables in the database, I got an error:</p>
  
  <pre><code>[ErrorException] 
  Creating default object from empty value
  </code></pre>
  
  <p>What is this related to? No tables are created nor can I find any errors in my migrations.</p>
  
  <p>I have 25 tables in the migrations folder, all look similar to this.  </p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Database\Migrations\Migration;
  
  class CreateAddressesTable extends Migration {
      public function up() {
          Schema::create("addresses", function() {
              $table-&gt;engine = "InnoDB";
  
              $table-&gt;increments("id");
              $table-&gt;integer("user_id")-&gt;unsigned();
  
              $table-&gt;string("street");
              $table-&gt;string("city");
              $table-&gt;integer("postal_code")-&gt;unsigned();
  
              $table-&gt;foreign("user_id")-&gt;references("id")-&gt;on("users");
  
              $table-&gt;softDeletes();
              $table-&gt;timestamps();
          });
      }
  
      public function down() {
          Schema::dropIfExists("addresses");
      }
  }
  </code></pre>