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