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