mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-26 17:09:11 +01:00
24 lines
420 B
PHP
24 lines
420 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\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'),
|
|
]);
|
|
}
|
|
}
|