2FAuth/database/seeders/UsersTableSeeder.php
2022-03-31 11:24:01 +02:00

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'),
]);
}
}