hayhay erd
테이블 (4)
USER_INFO (Untitled)
- 유저 PK (user_pk) — not null — 기본 키 — NOT NULL
- 카카오계정(이메일) (user_email) — not null
- 별명 (nickname) — not null
- 현재위치위도 (user_location)
내 거래 정보 (Untitled3)
- 내 거래 정보 PK (mysub_pk) — not null — 기본 키 — NOT NULL
- 유저 PK (user_pk) — not null — 외래 키 → USER_INFO.유저 PK — NOT NULL
- 거래 PK (sub_pk2) — not null — 외래 키 → 소분 리스트.거래 PK — NOT NULL
소분 리스트 (Untitled2)
- 거래 PK (sub_pk) — not null — 기본 키 — NOT NULL
- 제품명 (sub_name) — not null
- 가격 (sub_price) — not null
- 모집인원 (people_number) — not null
- 거래 날짜 및 시간 (sub_date) — not null
- 판매 링크 (sub_url) — not null
- 상세설명 (sub_detail)
- 거래 장소 (sub_place) — not null
- 거래 참여 유저 (sub_people)
- 거래 완료 여부 (sub_complete) — not null
알람 (Untitled4)
- 알람 PK (alarm_pk) — not null — 기본 키 — NOT NULL
- 거래 PK (sub_pk) — not null — 외래 키 → 소분 리스트.거래 PK — NOT NULL
- 알람 내용 (alarm_content) — not null
- 알람 받을 대상 (alarm_user) — not null
- 알람 읽었는지 (alarm_read) — not null