increments('id'); $table->string('name', 100)->nullable(); $table->string('phone', 60)->nullable(); $table->string('address_line1', 255)->nullable(); $table->string('address_line2', 255)->nullable(); $table->string('postal_code', 60)->nullable(); $table->string('district', 255)->nullable(); $table->string('state', 255)->nullable(); $table->integer('user_id')->nullable(); $table->integer('user_type')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('addresses'); } }