Removed unnecessary comments and updated UserSeeder

This commit is contained in:
2022-04-19 14:45:17 +02:00
parent 37783b0077
commit f0fae39614
10 changed files with 17 additions and 120 deletions

View File

@@ -8,18 +8,8 @@ use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
public function run(): void
{
User::query()
->create([
'name' => 'Kamil Niemczycki',
'email' => 'admin@admin.pl',
'password' => Hash::make('password123^')
]);
User::factory(['email' => 'admin@admin.pl'])->create();
}
}