Fix: naverworks_token 테이블 구조 설명 수정

- token_data JSONB에 통합 저장 명시
- 별도 access_token/refresh_token 컬럼 없음

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
happybell80 2025-09-30 22:00:49 +09:00
parent 220d9b77d7
commit f15178feec

View File

@ -195,8 +195,8 @@
- 이메일 기반 사용자 통합: Gmail/Slack과 동일 이메일이면 같은 User 레코드 사용 - 이메일 기반 사용자 통합: Gmail/Slack과 동일 이메일이면 같은 User 레코드 사용
- **Phase 2: Passport 구현** (✅ 완료): - **Phase 2: Passport 구현** (✅ 완료):
- `naverworks_token` 테이블: access_token/refresh_token 저장 - `naverworks_token` 테이블: token_data JSONB에 access_token/refresh_token 저장
- 테이블 구조: user_id(PK), domain_id, account_id, token_data, oauth_config, scopes, metadata, expiry, is_equipped, created_at, updated_at - 테이블 구조: user_id(PK), domain_id, account_id, token_data(JSONB), oauth_config, scopes, metadata, expiry, is_equipped, created_at, updated_at
- 메일/캘린더 API 접근용 - 메일/캘린더 API 접근용
### 5.2 구현 플로우 (Slack 패턴 참조) ### 5.2 구현 플로우 (Slack 패턴 참조)