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;
protected $fillable = [
'comment',
'user_id',
'is_approved'
];
protected $guarded = [];
protected $casts = [
'is_approved' => 'boolean'