sdwebserver/app/Models/BestLapsModel.php
Alfonso Saavedra "Son Link 199639a2f1
The fastest laps for each track and category are now stored in a separate table.
To create the new table, as well as to populate it, you have to run the SQL script export_best_laps.sql
2024-11-30 10:57:59 +01:00

9 lines
251 B
PHP

<?php
namespace App\Models;
use App\Models\BaseModel;
class BestLapsModel extends BaseModel
{
protected $table = 'bests_laps';
protected $allowedFields = ['race_id', 'lap_id', 'track_id', 'car_cat', 'car_id', 'laptime', 'user_id', 'setup'];
}