Jelajahi Sumber

Update ModLog model, add fillable attribute

Daniel Supernault 5 tahun lalu
induk
melakukan
c7ccb26ffc
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      app/ModLog.php

+ 2 - 0
app/ModLog.php

@@ -8,6 +8,8 @@ class ModLog extends Model
 {
 {
 	protected $visible = ['id'];
 	protected $visible = ['id'];
 
 
+	protected $fillable = ['*'];
+
 	public function admin()
 	public function admin()
 	{
 	{
 		return $this->belongsTo(User::class, 'user_id');
 		return $this->belongsTo(User::class, 'user_id');