atcheck/database/seeds/AttendancesTableSeeder.php

31 lines
692 B
PHP

<?php
use Illuminate\Database\Seeder;
class AttendancesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('attendances')->insert([
'classes_id' => 1,
'student_id_number' => '416010',
'student_name' => 'Joanna',
'student_surname' => 'Paliwoda',
'seat_number' => 13
]);
DB::table('attendances')->insert([
'classes_id' => 1,
'student_id_number' => '416111',
'student_name' => 'Piotr',
'student_surname' => 'Nowak',
'seat_number' => 6
]);
}
}