Alfonso Saavedra "Son Link
199639a2f1
To create the new table, as well as to populate it, you have to run the SQL script export_best_laps.sql
9 lines
251 B
PHP
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'];
|
|
}
|