33 lines
716 B
PHP
33 lines
716 B
PHP
<?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',
|
|
'type' => 'Lecture',
|
|
'weekday' => 'Monday',
|
|
'time' => '15:30',
|
|
'room_id' => 32,
|
|
'user_id' => 2
|
|
]);
|
|
|
|
DB::table('subjects')->insert([
|
|
'name' => 'Systemy Informatyczne UA0',
|
|
'type' => 'Excercises',
|
|
'weekday' => 'Monday',
|
|
'time' => '17:15',
|
|
'room_id' => 7,
|
|
'user_id' => 3
|
|
]);
|
|
}
|
|
}
|