increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->string('parent_id', 100)->nullable(); $table->enum('type', ['Yes', 'No'])->nullable(); $table->string('slug', 255)->nullable(); $table->string('name', 255)->nullable(); $table->string('code', 100)->nullable(); $table->text('details')->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('crm_location_locations'); } }