Skip to content

Commit 88c8265

Browse files
authored
Update ActivityLog.php
1 parent ee87879 commit 88c8265

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

src/Models/ActivityLog.php

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@
77

88
class ActivityLog extends Model
99
{
10-
11-
1210
use HasFactory;
1311
protected $table = 'activity_log_master';
14-
// Disable Laravel's mass assignment protection
15-
protected $guarded = [];
16-
}
12+
protected $fillable = [
13+
'id',
14+
'log',
15+
'server_ip_detail',
16+
'user_ip_detail',
17+
'route_detail',
18+
'query_string',
19+
'user_id',
20+
'user',
21+
'created_at',
22+
'updated_at',
23+
];
24+
}

0 commit comments

Comments
 (0)