removed shield use superadmin
This commit is contained in:
1 parent
7fd7f706bc
commit
419148cd18
60 files changed
+611
-2363
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
|
||||
class UserSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
|
||||
User::factory()->create([
|
||||
'name' => 'Hermann Telser',
|
||||
'email' => 'ht@webwerkstatt.tirol',
|
||||
'password' => Hash::make('salam'),
|
||||
'email_verified_at' => now(),
|
||||
'super_admin' => 1,
|
||||
'client_id' => 1,
|
||||
]);
|
||||
|
||||
User::factory()->create([
|
||||
'name' => 'Ubaldo Perrucci',
|
||||
'email' => 'ubaldo.perrucci@gmail.com',
|
||||
'password' => Hash::make('oscar'),
|
||||
'email_verified_at' => now(),
|
||||
'client_id' => 1,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user