Push-App
Tables (6)
Friend (친구)
- PK (_id) — string — Primary key — NOT NULL
- 유저아이디 (user_id) — string — Foreign key → User.PK — NOT NULL
- 친구아이디 (target_id) — string
- 추가일자 (created_date) — date
Invited (초대)
- PK (_id) — string — Primary key — NOT NULL
- 유저아이디 (user_id) — string — Foreign key → User.PK — NOT NULL
- 친구아이디 (target_id) — string
- 보낸일시 (created_date) — date
Locker (보관함)
- PK (_id) — string — Primary key — NOT NULL
- 푸쉬아아디 (push_id) — string — Foreign key → Push.PK — NOT NULL
- 유저아이디 (user_id) — string — Foreign key → User.PK — NOT NULL
- 등록일자 (created_date) — date
Push (알림)
- PK (_id) — string — Primary key — NOT NULL
- 유저아이디 (user_id) — string — Foreign key → User.PK — NOT NULL
- 친구아이디 (target_id) — string
- 제목 (title) — string
- 내용 (body) — string
- 보낸일자 (created_date) — date
Token (토큰)
- PK (_id) — Primary key — NOT NULL
- 유저아이디 (user_id) — string — Foreign key → User.PK — NOT NULL
- FCM토큰 (token) — string
- 등록일자 (created_date) — date
User (유저)
- PK (_id) — string — Primary key — NOT NULL
- 아이디 (name) — string
- 비밀번호 (password) — string
- 닉네임 (nickname) — string
- 프로필이미지 (profile_img) — string
- 상태메시지 (state_message) — string
- 첫로그인 (first_login) — boolean
- 가입일자 (created_date) — date
- 수정일자 (modified_date) — date
- 마지막로그인일자 (login_date) — date