atcheck/database/seeds/SubjectsTableSeeder.php

33 lines
716 B
PHP
Raw Normal View History

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',
'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
]);
}
}