2019-12-01 23:36:12 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class SubjectsTableSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
DB::table('subjects')->insert([
|
|
|
|
'name' => 'Systemy Informatyczne UA0',
|
2019-12-06 22:34:25 +01:00
|
|
|
'weekday' => 'Poniedziałek',
|
2019-12-01 23:36:12 +01:00
|
|
|
'time' => '15:30',
|
|
|
|
'user_id' => 2
|
|
|
|
]);
|
|
|
|
|
|
|
|
DB::table('subjects')->insert([
|
|
|
|
'name' => 'Systemy Informatyczne UA0',
|
2019-12-06 22:34:25 +01:00
|
|
|
'weekday' => 'Wtorek',
|
2019-12-01 23:36:12 +01:00
|
|
|
'time' => '17:15',
|
|
|
|
'user_id' => 3
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|