This commit is contained in:
Ludovic CANDELLIER
2021-11-24 16:15:56 +01:00
parent 0858804095
commit e434220c16

View File

@@ -10,11 +10,7 @@ class Comment extends Model
{ {
use HasComments; use HasComments;
protected $fillable = [ protected $guarded = [];
'comment',
'user_id',
'is_approved'
];
protected $casts = [ protected $casts = [
'is_approved' => 'boolean' 'is_approved' => 'boolean'