diff --git a/database/migrations/2020_11_13_130742_add_addressable_to_address_table.php b/database/migrations/2020_11_13_130742_add_addressable_to_address_table.php index cba3f89b9..378eeff66 100644 --- a/database/migrations/2020_11_13_130742_add_addressable_to_address_table.php +++ b/database/migrations/2020_11_13_130742_add_addressable_to_address_table.php @@ -22,6 +22,7 @@ public function up() Schema::create('addresses', function (Blueprint $table) { $table->increments('id'); + $table->morphs('addressable'); $table->string('salutation')->nullable(); $table->string('firstname')->nullable(); $table->string('lastname')->nullable(); @@ -43,7 +44,6 @@ public function up() $table->text('delivery_instructions')->nullable(); $table->timestamp('last_used_at')->nullable(); $table->json('meta')->nullable(); - $table->morphs('addressable'); $table->timestamps(); });