Add Role Factory

This commit is contained in:
cgonzalesmo 2022-10-22 12:34:21 -05:00
parent 7aae06a0da
commit 30dde28147
2 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ class DatabaseSeeder extends Seeder
public function run() public function run()
{ {
//roles //roles
\App\Models\role::factory()->create([ \App\Models\Role::factory()->create([
"name"=>"Admin" "name"=>"Admin"
]); ]);
\App\Models\role::factory()->create([ \App\Models\Role::factory()->create([
"name"=>"User" "name"=>"User"
]); ]);