increments('id'); $table->integer('parent_id')->nullable(); $table->enum('type', ['Country','State','District','Location','Postal_Code'])->nullable(); $table->string('place', 100)->nullable(); $table->string('gst_type', 50)->nullable(); $table->string('slug', 255)->nullable(); $table->string('name', 255)->nullable(); $table->integer('postal_code')->nullable(); $table->string('state_code', 10)->nullable(); $table->enum('has_delivery', ['Postal','Delhivery','No'])->nullable(); $table->string('sort_code', 25)->nullable(); $table->tinyInteger('COD')->nullable(); $table->string('dispatch', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('locations'); } }