increments('id'); $table->string('parent_id', 100)->nullable(); $table->enum('type', ['Country','State','District','Location'])->nullable(); $table->string('slug', 255)->nullable(); $table->string('name', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('locations'); } }