Speakly
테이블 (7)
linkedAuth (LinkedAuth)
- linkedAuthId (linked_auth_id) — tsid — 기본 키 — NOT NULL
- 비밀번호 (password) — String
- auth타입 (auth_type) — AuthType
- 제공계정ID (provider_user_id) — String
- 사용자ID (account_id) — tsid — 외래 키 → 사용자.사용자ID — NOT NULL
사용자 (Account)
- 사용자ID (account_id) — tsid — 기본 키 — NOT NULL
- 이메일 (email) — String
- 비밀번호 (password) — String
- 닉네임 (nickname) — String
- 프로필이미지 (profile_image_path) — String
- 권한수준 (authority) — int
- 가입일 (create_at) — LocalDateTime
- 마지막 로그인 시간 (last_logged_in) — LocalDateTime
- 활동상태 (status) — int
- 이메일 알림 허용 (email_alert) — boolean
- 푸시 알림 허용 (push_alert) — boolean
- 누적벌점 (penalty) — int
신고/벌점 (ReportPenalty)
- 벌점ID (penalty_id) — tsid — 기본 키 — NOT NULL
- 사유 (cause) — String
- 벌점 (penalty_score) — int
- 생성일 (created_at) — LocalDateTime
- 처리상태 (status) — int
- 처리일 (completed_at) — LocalDateTime
- 유형 (type) — int
- 신고자 (reporter_id) — tsid — 외래 키 → 사용자.사용자ID — NOT NULL
- 대상사용자 (target_user_id) — tsid — 외래 키 → 사용자.사용자ID — NOT NULL
- 대상메시지ID (message_id) — tsid — 외래 키 → 채팅메시지.메시지ID — NOT NULL
채팅메시지 (ChatMessage)
- 메시지ID (message_id) — tsid — 기본 키 — NOT NULL
- 내용 (content) — String
- 작성일 (created_at) — LocalDateTime
- 수정일 (updated_at) — LocalDateTime
- 사용자ID (account_id) — tsid
태그 (Tag)
- 테그ID (tag_id) — tsid — 기본 키 — NOT NULL
- 태그명 (tag_name) — String
토론주제 (Topic)
- 주제ID (topic_id) — tsid — 기본 키 — NOT NULL
- 주제명 (topic_name) — String
- 설명 (description) — String
- 생성일 (created_at) — LocalDateTime
- 참여인원수 (numberOfAttendee) — int
- 공개여부 (is_public) — boolean
- 사용자ID (owner) — UUID — 외래 키 → 사용자.사용자ID — NOT NULL
토픽태그 (TopicTagRelation)
- 토픽태그ID (topic_tag_id) — tsid — 기본 키 — NOT NULL
- 주제ID (topic_id) — tsid — 외래 키 → 토론주제.주제ID — NOT NULL
- 테그ID (tag_id) — tsid — 외래 키 → 태그.테그ID — NOT NULL