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
+3 -2
View File
@@ -6,6 +6,7 @@
namespace App\Models;
use App\Enums\FlightStatus;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Attributes\Scope;
use Illuminate\Database\Eloquent\Builder;
@@ -52,8 +53,8 @@ class Flight extends Model
'price' => 'float',
'capacity' => 'int',
'views' => 'int',
'status' => 'int'
];
'status' => FlightStatus::class
];
protected $fillable = [
'title',