feat: 카카오 계정의 본인 복구와 인증 후 연결 교체를 추가한다
This commit is contained in:
1 parent
d1cdf8a85f
commit
c81d304073
22 files changed
+1338
-199
No files matched your search
@@ -126,6 +126,20 @@ model AppUser {
|
||||
@@map("app_user")
|
||||
}
|
||||
|
||||
// 교체 이력을 보존하며 이전 ID는 같은 서비스 계정만 다시 연결할 수 있다.
|
||||
model KakaoIdentityLinkHistory {
|
||||
id String @id @default(uuid())
|
||||
userId String @map("user_id")
|
||||
previousOauthId String @map("previous_oauth_id")
|
||||
nextOauthId String @map("next_oauth_id")
|
||||
authorization String
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
|
||||
@@index([previousOauthId, createdAt])
|
||||
@@index([userId, createdAt])
|
||||
@@map("kakao_identity_link_history")
|
||||
}
|
||||
|
||||
model RetiredKakaoIdentity {
|
||||
id String @id @default(uuid())
|
||||
oauthId String @unique @map("oauth_id")
|
||||
|
||||
Reference in new issue
Block a user