Skip to content

Commit 35250c2

Browse files
committed
refactor: remove GitHub identity upsert from seeds file
- Eliminated the upsert operation for GitHub identity in the seeds.exs file to streamline the seeding process. - This change focuses on maintaining relevant user data while simplifying the overall seed structure.
1 parent f19b6f3 commit 35250c2

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

priv/repo/seeds.exs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@ erich =
4545
|> Map.merge(if(github_user && github_user["email"], do: %{email: github_user["email"]}, else: %{}))
4646
)
4747

48-
upsert!(
49-
:identity,
50-
[:provider, :provider_id],
51-
%{
52-
user_id: erich.id,
53-
provider: erich.provider,
54-
provider_id: erich.provider_id,
55-
provider_email: erich.email,
56-
provider_login: erich.handle,
57-
provider_name: erich.name
58-
}
59-
)
60-
6148
richard =
6249
upsert!(
6350
:user,

0 commit comments

Comments
 (0)