DoToRi
Tables (7)
alram (알림)
- 알림 번호 (num) — not null | auto — Primary key — NOT NULL
- 보낸 사람 (sender) — not null — Foreign key → member.회원 아이디 — NOT NULL
- 받는 사람 (receiver) — not null — Foreign key → member.회원 아이디 — NOT NULL
- 목적 (object) — not null
- 제목 (subject) — not null
- 내용 (content) — not null
- 보낸 시간 (date) — not null
board (게시판)
- 글 번호 (write_no) — not null | auto — Primary key — NOT NULL
- 회원 아이디 (id) — not null — Foreign key → member.회원 아이디 — NOT NULL
- 제목 (title) — not null
- 내용 (content) — not null
- 날짜 (save_date) — not null
- 조회수 (hit) — not null
- 업로드 파일 (upload_file) — null
- 서버폴더에 저장되는 파일명 (change_file) — null
- 작성자 닉네임 (name) — not null
- 카테고리 (category) — not null
buy (구매내역)
- 상품 번호 (product_no) — not null | auto — Foreign key → product.상품 번호 — NOT NULL
- 회원 아이디 (id) — not null — Foreign key → member.회원 아이디 — NOT NULL
friends (친구)
- 본인 아이디 (member_id) — not null — Foreign key → member.회원 아이디 — NOT NULL
- 회원 아이디 (id2) — not null — Foreign key → member.회원 아이디 — NOT NULL — member_id와 같이 묶어서 슈퍼키로 사용. 여기서 어떻게 표현하는지는 모르겠음...
member (회원)
- 회원 아이디 (id) — not null — Primary key — NOT NULL
- 회원 비밀번호 (pwd) — not null
- 회원 닉네임 (name) — not null
- 회원 주소 (addr) — not null
- 회원 폰번호 (phone) — not null
- 회원 이메일 (email) — not null
- 적용 테마 번호 (thema_no) — not null
- 도토리 갯수 (dotori) — not null
- 로그인실패카운트 (login_fail_count) — not null
- 로그인 실패한 시간 (last_login_fail_time) — null
- 프로필 사진 (picture) — not null
- 상태메세지 (msg) — not null
product (상품)
- 상품 번호 (product_no) — not null | auto — Primary key — NOT NULL
- 상품 이름 (product) — not null
- 가격(도토리) (price) — not null
reply (댓글)
- 댓글 번호 (reply_no) — not null | auto — Primary key
- 내용 (content) — not null
- 날짜 (save_date) — not null
- 그룹 (reply_group) — not null
- 회원 아이디 (id) — not null — Foreign key → member.회원 아이디 — NOT NULL