Sinchonthon
테이블 (5)
게시글 (Post)
- post_id (id) — int — 기본 키 — NOT NULL
- user_id (id2) — int — 외래 키 → 사용자.user_id — NOT NULL
- 작성일자 (date) — datetime
- 메인 카테고리 (category) — string
- 세부 카테고리 (detail) — string
- 제목 (title) — string
- 본문 (text) — string
- 모집인원 (limit) — int
- 오픈채팅 링크 (link) — string
- 마감일 (deadline) — datetime
- 이미지 (image) — Image
댓글 (Comment)
- comment_id (id) — int — 기본 키 — NOT NULL
- post_id (id2) — int — 외래 키 → 게시글.post_id — NOT NULL
- user_id (id22) — int — 외래 키 → 게시글.user_id — NOT NULL
- 댓글내용 (comment) — string
- 생성 날짜 (date) — datetime
사용자 (User)
- user_id (id) — int — 기본 키 — NOT NULL
- 이름 (name) — string
- 닉네임 (nickname) — string
- 이메일 (email) — string
- 학교 (school) — string
좋아요 (Like)
- like_id (id) — int — 기본 키 — NOT NULL
- user_id (id2) — int — 외래 키 → 사용자.user_id — NOT NULL
- post_id (id3) — int — 외래 키 → 게시글.post_id — NOT NULL
- user_id (id22) — int — 외래 키 → 게시글.user_id — NOT NULL
- 좋아요 유무 (like) — bool
주소 (address)
- user_id (id) — int — 외래 키 → 사용자.user_id — NOT NULL
- 시 (region_1depth_name) — string
- 구 (region_2depth_name) — string
- 위도 (latitude) — float
- 경도 (longtitude) — float