Skip to content

Commit

Permalink
#1660 added model guarded column
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Jan 26, 2025
1 parent 20918bb commit 5b14b26
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ class ReviewerRecommendation extends Model
/**
* @copydoc \Illuminate\Database\Eloquent\Concerns\GuardsAttributes::$guarded
*/
// TODO : add `recommendation_id` as guarded column once pkp/pkp-lib#10292 and pkp/pkp-lib#10562 merged
protected $guarded = [];
protected $guarded = [
'recommendation_id',
];

/**
* @copydoc \Illuminate\Database\Eloquent\Concerns\HasAttributes::casts
Expand Down

0 comments on commit 5b14b26

Please sign in to comment.