refactor: change OauthSetting creation to updateOrCreate for better handling of existing records
This commit is contained in:
		| @@ -58,7 +58,7 @@ class OauthSettingSeeder extends Seeder | ||||
|             } | ||||
|         } else { | ||||
|             foreach ($providers as $provider) { | ||||
|                 OauthSetting::create([ | ||||
|                 OauthSetting::updateOrCreate([ | ||||
|                     'provider' => $provider, | ||||
|                 ]); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai