started to add indexes and fixed N+1 issue
This commit is contained in:
@@ -39,6 +39,18 @@ class PlatformSeeder extends Seeder
|
||||
'is_company_admin' => true,
|
||||
'status' => 'active',
|
||||
'email_verified_at' => now(),
|
||||
],
|
||||
);
|
||||
User::updateOrCreate(
|
||||
['email' => 'david.price@mpba.co.uk'],
|
||||
[
|
||||
'company_id' => $company->id,
|
||||
'name' => 'David Price',
|
||||
'password' => Hash::make('Password1'),
|
||||
'is_platform_admin' => true,
|
||||
'is_company_admin' => true,
|
||||
'status' => 'active',
|
||||
'email_verified_at' => now(),
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user