diff --git a/app/Models/WorkflowTimestamp.php b/app/Models/WorkflowTimestamp.php index bb189afb..5cc6a17d 100644 --- a/app/Models/WorkflowTimestamp.php +++ b/app/Models/WorkflowTimestamp.php @@ -22,6 +22,8 @@ class WorkflowTimestamp extends Model * @var array */ protected $fillable = [ + 'current_node', + 'next_node', 'node', 'seconds', 'userId', diff --git a/database/migrations/2024_07_21_222302_create_workflow_timestamps_table.php b/database/migrations/2024_07_21_222302_create_workflow_timestamps_table.php index 5a166ffd..3d8d29bb 100644 --- a/database/migrations/2024_07_21_222302_create_workflow_timestamps_table.php +++ b/database/migrations/2024_07_21_222302_create_workflow_timestamps_table.php @@ -15,7 +15,8 @@ class CreateWorkflowTimestampsTable extends Migration { Schema::create('workflow_timestamps', function (Blueprint $table) { $table->id(); - $table->string('node'); + $table->string('current_node'); + $table->string('next_node'); $table->integer('seconds'); $table->unsignedBigInteger('userId'); $table->string('session_id'); diff --git a/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue b/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue index d0a25c9b..8a629664 100644 --- a/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue +++ b/resources/assets/vue/components/general/sections/AdminWorkFlowSectionComponent.vue @@ -98,11 +98,10 @@