useract wip

This commit is contained in:
salam committed 2026-02-13 07:38:17 +01:00
1 parent 10b0d334ab
commit 7e9d841856
19 files changed
+194 -51

No files matched your search

+11 -1
View File
@@ -7,10 +7,20 @@ use Illuminate\Database\Eloquent\Model;
class UserActivity extends Model
{
protected $fillable = [
'user_id', 'url',
'user_id',
'url',
'session_id',
'ip',
'country',
'location',
];
protected $casts = [
'created_at' => 'datetime',
];
public function user()
{
return $this->belongsTo(User::class);
}
}