'array', 'new_data' => 'array', 'changes' => 'array' ]; /** * Relationship with PostApprovalFlow */ public function postApprovalFlow() { return $this->belongsTo(PostApprovalFlow::class, 'flow_id'); } /** * Relationship with User (who made the change) */ public function changedByUser() { return $this->belongsTo(User::class, 'user_id'); } }