increments('id'); $table->integer('client_id')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 200)->nullable(); $table->string('slug', 255)->nullable(); $table->string('name', 255)->nullable(); $table->string('phone', 100)->nullable(); $table->text('address_line1')->nullable(); $table->text('address_line2')->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->string('district_id', 100)->nullable(); $table->string('location_id', 100)->nullable(); $table->integer('postal_code')->nullable(); $table->tinyInteger('default')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('addresses'); } }