upRoutine
Tables (6)
confirm_routine (루틴 인증리스트)
- PK (id) — NOT NULL — Primary key — NOT NULL
- FK(루틴 아이디) (r_id) — NOT NULL — Foreign key → routine.PK — NOT NULL
- 인증상태 (status) — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 루틴 인증사진 (routineImg_url) — NOT NULL
- 루틴 인증 텍스트 (cr_text) — NOT NULL
- FK(루틴인증해준사용자ID) (user_id) — NULL — Foreign key → user.PK — NOT NULL
friend (친구관계)
- PK (id) — NOT NULL — Primary key — NOT NULL — autoincrement
- FK(유저아이디) (user_id) — NOT NULL — Foreign key → user.PK — NOT NULL
- FK(친구아이디) (friend_id) — NOT NULL — Foreign key → user.PK — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 요청상태 (status) — NOT NULL
group_routine (단체루틴)
- PK (id) — NOT NULL — Primary key — NOT NULL
- 단체루틴방 이름 (name) — NOT NULL
- 썸네일 (profile_url) — NOT NULL
- 패널티(벌칙) (penalty) — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 수정일 (modifiedDate) — NOT NULL
- 방장 (room_manager) — NOT NULL
notification (알림)
- PK (id) — NOT NULL — Primary key — NOT NULL
- FK (user_id) — NOT NULL — Foreign key → user.PK — NOT NULL
- 읽음여부 (is_read) — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 알림제목 (n_title) — NOT NULL
- 알림내용 (n_content) — NOT NULL
routine (루틴 테이블)
- PK (id) — NOT NULL — Primary key — NOT NULL
- FK(유저아이디) (user_id) — NOT NULL — Foreign key → user.PK — NOT NULL
- 루틴제목 (r_title) — NOT NULL
- 루틴시간 (r_time) — NOT NULL
- 루틴 시작일 (r_start) — NOT NULL
- 루틴 종료일 (r_end) — NOT NULL
- 루틴 주기 (r_cycle) — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 수정일 (modifiedDate) — NOT NULL
- 루틴 상태 (status) — NOT NULL
- 루틴 미루기 (r_delay) — NULL
- 루틴종류 (r_kind) — NOT NULL
user (회원테이블)
- PK (id) — NOT NULL — Primary key — NOT NULL
- OAuth ID (oauth_id) — NOT NULL
- 비밀번호 (password) — NOT NULL
- 닉네임 (name) — NOT NULL
- 생성일 (createdDate) — NOT NULL
- 수정일 (modifiedDate) — NOT NULL
- 프로필사진 (profile_url) — NOT NULL
- 회원상태 (status) — NOT NULL