feat: implement site visit in controller and add visit table

This commit is contained in:
2026-08-20 12:44:04 -07:00
parent 99c60dd9c7
commit f0331152ea
11 changed files with 344 additions and 52 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class Visit
*
* @property int $id
* @property string|null $ip_address
* @property string|null $url
* @property string|null $user_agent
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
*
* @package App\Models
*/
class Visit extends Model
{
protected $table = 'visits';
public static $snakeAttributes = false;
protected $fillable = [
'ip_address',
'url',
'user_agent'
];
}