2FAuth/database/seeds/UsersTableSeeder.php

22 lines
380 B
PHP
Raw Normal View History

2019-05-20 07:37:41 +02:00
<?php
use App\User;
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::create([
2019-05-23 14:02:29 +02:00
'name' => 'testLogin',
'email' => 'test@test.com',
'password' => bcrypt('test'),
2019-05-20 07:37:41 +02:00
]);
}
}