Loading app/Http/Controllers/DivesList.php +2 −2 Changes for app/Http/Controllers/DivesList.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -9,8 +9,8 @@ class DivesList extends Controller { function index(): View { $dives = DivingSession::select('car_diving_session.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME') ->join('car_diving_location', 'car_diving_session.DL_ID', '=', 'car_diving_location.DL_ID') $dives = DivingSession::select('CAR_DIVING_SESSION.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME') ->join('CAR_DIVING_LOCATION', 'CAR_DIVING_SESSION.DL_ID', '=', 'CAR_DIVING_LOCATION.DL_ID') ->get(); return view('dives', ['dives' => $dives]); } Loading app/Models/Boat.php +14 Changes for app/Models/Boat.php: 14 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Boat extends Model { use HasFactory; protected $table = 'CAR_BOAT'; protected $primaryKey = 'BO_ID'; } app/Models/DivingLocation.php +15 Changes for app/Models/DivingLocation.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class DivingLocation extends Model { use HasFactory; protected $table = 'CAR_DIVING_LOCATION'; protected $primaryKey = 'DL_ID'; } app/Models/DivingSession.php +1 −1 Changes for app/Models/DivingSession.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ */ class DivingSession extends Model { protected $table = 'car_diving_session'; protected $table = 'CAR_DIVING_SESSION'; protected $primaryKey = 'ds_code'; protected $keyType = 'string'; public $timestamps = false; Loading resources/img/diving with animals-amico.svg +1 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
app/Http/Controllers/DivesList.php +2 −2 Changes for app/Http/Controllers/DivesList.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -9,8 +9,8 @@ class DivesList extends Controller { function index(): View { $dives = DivingSession::select('car_diving_session.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME') ->join('car_diving_location', 'car_diving_session.DL_ID', '=', 'car_diving_location.DL_ID') $dives = DivingSession::select('CAR_DIVING_SESSION.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME') ->join('CAR_DIVING_LOCATION', 'CAR_DIVING_SESSION.DL_ID', '=', 'CAR_DIVING_LOCATION.DL_ID') ->get(); return view('dives', ['dives' => $dives]); } Loading
app/Models/Boat.php +14 Changes for app/Models/Boat.php: 14 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Boat extends Model { use HasFactory; protected $table = 'CAR_BOAT'; protected $primaryKey = 'BO_ID'; }
app/Models/DivingLocation.php +15 Changes for app/Models/DivingLocation.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class DivingLocation extends Model { use HasFactory; protected $table = 'CAR_DIVING_LOCATION'; protected $primaryKey = 'DL_ID'; }
app/Models/DivingSession.php +1 −1 Changes for app/Models/DivingSession.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ */ class DivingSession extends Model { protected $table = 'car_diving_session'; protected $table = 'CAR_DIVING_SESSION'; protected $primaryKey = 'ds_code'; protected $keyType = 'string'; public $timestamps = false; Loading
resources/img/diving with animals-amico.svg +1 File added.Preview size limit exceeded, changes collapsed. Show changes