mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-29 11:43:26 +01:00
22 lines
384 B
PHP
22 lines
384 B
PHP
<?php
|
|
|
|
use App\User;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class UsersTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
User::create([
|
|
'name' => 'admin',
|
|
'email' => 'admin@example.org',
|
|
'password' => bcrypt('password'),
|
|
]);
|
|
}
|
|
}
|