increments('id'); // Link to the parent deviation record $table->integer('application_deviation_id')->unsigned(); $table->text('application_details')->nullable(); $table->integer('action_by_id')->unsigned(); $table->integer('checker_id')->unsigned(); $table->text('remark')->nullable(); $table->string('event'); $table->string('old_status')->nullable(); $table->string('current_status'); $table->timestamp('created_at')->useCurrent(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('application_deviation_log'); } }