Ich Ich, gros commit

This commit is contained in:
bglacial
2018-10-08 22:31:58 +02:00
parent ecded0947f
commit b11b2befd7
49 changed files with 37276 additions and 11977 deletions

View File

@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Seeder;
use App\Race;
use Carbon\Carbon;
class RaceTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Race::create([
'name' => 'Course 24h',
'start_date' => Carbon::now(),
'end_date' => Carbon::now(),
'duration' => 24,
'autonomie_kart_sec' => 120,
'autonomie_kart_humide' => 200,
'relay_default_duration' => 45,
'stand_duration' => '60',
'comment' => 'Top',
]);
}
}