Add Role Factory
This commit is contained in:
parent
7aae06a0da
commit
30dde28147
@ -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"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user