increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 30)->nullable(); $table->string('slug', 100)->nullable(); $table->string('code', 10)->nullable(); $table->string('name', 100)->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('property_categories'); } }