Querico
테이블 (7)
AccountInfo (account)
- id — String — 기본 키 — NOT NULL
- - (userId) — String — 외래 키 → UserInfo._idmongodb) — NOT NULL
- - (type) — String — NOT NULL
- - (provider) — String
- - (providerAccuntId) — String
- - (access_token) — String — NOT NULL
- - (refresh_token) — String — NOT NULL
- accessToken기간 (expires_at) — Int — NOT NULL
- - (expires_refresh) — Int — NOT NULL
InterestList (interest_list)
- 한식 (id0) — String
- 일식 (id1) — String
- 중식 (id2) — String
- 양식 (id3) — String
UserInfo (user)
- _idmongodb) (id) — String — 기본 키 — NOT NULL
- - (name) — String — NOT NULL
- - (email) — String — NOT NULL
- - (emailVerified) — Datetime
- - (hashedPassword) — String
- - (createdAt) — DateTime — NOT NULL
- - (updatedAt) — DateTime — NOT NULL
- - (interestId)
UserInterest (user_interest)
- _idmongodb) (id) — String — 외래 키 → UserInfo._idmongodb) — NOT NULL
- - (createdAt) — DateTime — NOT NULL
- - (updatedAt) — DateTime — NOT NULL
- interestList의 id값 (item01) — String
- - (item02) — String
- - (item03) — String
개별comment (post_comment_list)
- commentListId (id) — String — 기본 키 — NOT NULL
- commentId (id2) — String — 외래 키 → 총comment.commentId — NOT NULL
- _idmongodb) (id3) — String — 외래 키 → UserInfo._idmongodb) — NOT NULL
- 개인별점 (star_point) — Int — NOT NULL
- - (createdAt) — DateTime — NOT NULL
- - (updatedAt) — DateTime — NOT NULL
- - (comment) — String
레시피정보 (post)
- postid (postId) — String — 기본 키 — NOT NULL
- - (postTime) — DateTime — NOT NULL
- - (title) — String — NOT NULL
- - (time) — Int — NOT NULL
- - (cost) — Int — NOT NULL
- - (Image) — Url — NOT NULL
- _idmongodb) (userId) — String — 외래 키 → UserInfo._idmongodb) — NOT NULL
총comment (post_comment)
- commentId (id) — String — 기본 키 — NOT NULL
- updatedAt — DateTime — NOT NULL
- avg_star_point — Int — NOT NULL
- postid (postId) — String — 외래 키 → 레시피정보.postid — NOT NULL