Skip to content

Commit

Permalink
Fix user seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed Sep 16, 2022
1 parent 14c8222 commit 0aab0c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions database/seeders/UserSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

namespace Database\Seeders;

use App\Models\Admin;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

Expand All @@ -16,7 +15,7 @@ class UserSeeder extends Seeder
*/
public function run()
{
Admin::create([
User::create([
'name' => 'User',
'email' => '[email protected]',
'password' => Hash::make('123456'),
Expand Down

0 comments on commit 0aab0c0

Please sign in to comment.