From 1a586a4f2897f614457ff4c8809339ad4e1e376d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 26 Feb 2023 15:29:17 +1100 Subject: [PATCH] fixes for seeders --- database/seeders/RandomDataSeeder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/seeders/RandomDataSeeder.php b/database/seeders/RandomDataSeeder.php index b984dced53..b65883110e 100644 --- a/database/seeders/RandomDataSeeder.php +++ b/database/seeders/RandomDataSeeder.php @@ -122,6 +122,7 @@ class RandomDataSeeder extends Seeder ]); $user->password = Hash::make('password'); + $user->account_id = $account->id; $user->email_verified_at = now(); $user->save(); @@ -149,6 +150,7 @@ class RandomDataSeeder extends Seeder ]); $user->password = Hash::make('password'); + $user->account_id = $account->id; $user->email_verified_at = now(); $user->save();