Updated project for admin panel

This commit is contained in:
2022-02-15 22:35:59 +01:00
parent 984d2eeae6
commit 282e5ccc46
13 changed files with 371 additions and 14 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::query()
->create([
'name' => 'Kamil Niemczycki',
'email' => 'admin@admin.pl',
'password' => Hash::make('password123^')
]);
}
}