mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
refactor: change OauthSetting creation to updateOrCreate for better handling of existing records
This commit is contained in:
parent
9832d92bda
commit
8a195c8cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class OauthSettingSeeder extends Seeder
|
|||
}
|
||||
} else {
|
||||
foreach ($providers as $provider) {
|
||||
OauthSetting::create([
|
||||
OauthSetting::updateOrCreate([
|
||||
'provider' => $provider,
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue