diff --git a/troubleshooting/250831_happybell80_skill-email_UUID_inconsistency_URGENT.md b/troubleshooting/250831_happybell80_skill-email_UUID_inconsistency_URGENT.md index efe1156..5931af0 100644 --- a/troubleshooting/250831_happybell80_skill-email_UUID_inconsistency_URGENT.md +++ b/troubleshooting/250831_happybell80_skill-email_UUID_inconsistency_URGENT.md @@ -32,6 +32,7 @@ skill-email DB 조회: Slack ID로 저장됨 (U0925SXQFDK) rb8001의 email_integration.py 수정: - 이메일 조회 시: UUID → Slack ID 역변환 - slack_user_mapping 테이블 활용 +- **참고: auth-server는 user.oauth_id에 slack_id 저장 중 (별도 slack_id 컬럼 없음)** ### 장기 해결 (권장) **모든 내부 시스템 UUID Primary Key 통일**: diff --git a/troubleshooting/250831_rb8001_postgresql_context_integration.md b/troubleshooting/250831_rb8001_postgresql_context_integration.md index 5b7c151..31ec628 100644 --- a/troubleshooting/250831_rb8001_postgresql_context_integration.md +++ b/troubleshooting/250831_rb8001_postgresql_context_integration.md @@ -67,5 +67,5 @@ ### 데이터베이스 스키마 - `conversation_logs.user_id`: UUID (Frontend 사용자) -- `conversation_logs.slack_user_id`: VARCHAR (Slack ID 보존) +- `conversation_logs.slack_user_id`: VARCHAR (Slack ID 보존) - **주의: 문서상 언급이나 실제 코드에서 미사용** - `slack_user_mapping`: Slack ID ↔ UUID 매핑 테이블 활용 \ No newline at end of file