mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-30 04:03:18 +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'),
|
|
]);
|
|
}
|
|
}
|