increments('id'); $table->integer('order_id')->nullable(); $table->integer('detail_id')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->enum('status', ['Pending','Completed'])->nullable(); $table->integer('quantity')->nullable(); $table->text('details')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('histories'); } }