You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
594 B
PHP

<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class AdminSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
User::create([
'uid' => Str::uuid()->toString(),
'type' => 'Admin',
'email' => 'solarai@naver.com',
'password' => Hash::make('thffk0822**'),
'name' => '운영자',
'status' => 'Registered'
]);
}
}