따따
테이블 (10)
검색 (search)
- 검색id (id) — bigint — 기본 키 — NOT NULL
- 회원 id (member_id) — bigint — 외래 키 → 회원.회원 id — NOT NULL
- 검색 상세 id (recently_searched_id) — bigint — 외래 키 → 최근 검색.검색 상세 id — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
기록 (record)
- 기록 id (id) — bigint — 기본 키 — NOT NULL
- 회원 id (member_id) — bigint — 외래 키 → 회원.회원 id — NOT NULL
- 날짜 (date) — datetime(6) — NOT NULL
- 일기 (diary) — string
- 상호명 (location) — string — NOT NULL
- 위도 (latitude) — double — NOT NULL
- 경도 (longitude) — double — NOT NULL
- 카테고리 (category) — string
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
사진 (photo)
- 사진 id (id) — bigint — 기본 키 — NOT NULL
- 기록 id (record_id) — bigint — 외래 키 → 기록.기록 id — NOT NULL
- 사진 url (photo_url) — url — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
상세 아이템 (items_info)
- 상세 아이템 id (id) — bigint — 기본 키 — NOT NULL
- 아이템 이름 (item_name) — string — NOT NULL
- 아이템 가격 (cost) — int — NOT NULL
- 구매 여부 (is_bought) — boolean — NOT NULL
- 구매 시간 (date) — datetime(6) — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
아이템 (items)
- 아이템 id (id) — bigint — 기본 키 — NOT NULL
- 회원 id (member_id) — bigint — 외래 키 → 회원.회원 id — NOT NULL
- 상세 아이템 id (items_info_id) — bigint — 외래 키 → 상세 아이템.상세 아이템 id — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
약관내용 (terms)
- 약관 상세 id (id) — bigint — 기본 키 — NOT NULL
- 제목 (title) — string — NOT NULL
- 내용 (body) — string — NOT NULL
- 동의일자 (agreed_date) — datetime(6) — NOT NULL
- 동의여부 (is_agreed) — boolean — NOT NULL
- 생성 시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
약관동의 (agreed)
- 약관id (id) — bigint — 기본 키 — NOT NULL
- 회원 id (member_id) — bigint — 외래 키 → 회원.회원 id — NOT NULL
- 약관 상세 id (terms_id) — bigint — 외래 키 → 약관내용.약관 상세 id — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
챌린지 (challenge)
- 챌린지 id (id) — bigint — 기본 키 — NOT NULL
- 회원 id (member_id) — bigint — 외래 키 → 회원.회원 id — NOT NULL
- 제목 (title) — string — NOT NULL
- 시작 날짜 (start_date) — date — NOT NULL
- 종료 날짜 (finish_date) — date — NOT NULL
- 상세 내용 (body) — string — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
최근 검색 (recently_searched)
- 검색 상세 id (id) — bigint — 기본 키 — NOT NULL
- 검색어 (search_word) — string — NOT NULL
- 검색 시간 (date) — datetime(6) — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)
회원 (member)
- 회원 id (id) — bigint — 기본 키 — NOT NULL
- 이름 (name) — string — NOT NULL
- 아이디 (login_id) — string — NOT NULL
- 비밀번호 (login_pw) — string — NOT NULL
- 닉네임 (nickname) — string — NOT NULL
- 전화번호 (phone_number) — string — NOT NULL
- 이메일 (email) — email — NOT NULL
- 생년월일 (birth) — date — NOT NULL
- 프로필이미지 (profile_image) — string
- 소셜로그인플랫폼 (social_login_type) — varchar(10)
- 상태 (status) — varchar(15) — NOT NULL
- 비활성기간 (inactive_date) — datetime(6) — NOT NULL
- 생성시간 (created_at) — datetime(6)
- 업데이트 시간 (updated_at) — datetime(6)