2019-11-30 18:19:13 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
class UsersTableSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2019-11-30 22:07:51 +01:00
|
|
|
DB::table('users')->insert([
|
|
|
|
'email' => 'artur.nowakowski@gmail.com',
|
|
|
|
'password' => bcrypt('Tester#123'),
|
2019-11-30 18:19:13 +01:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|