nodemarket
Tables (4)
appointments (예약)
- 게시글 식별자pk (postId) — Foreign key → posts.게시글 식별자pk — NOT NULL
- 생성시간 (createdAt)
- 취소 요청자 (cancelRequestedBy) — int — Foreign key → users.사용자 식별자pk — NOT NULL
- 예약자 (buyerId) — int — Foreign key → users.사용자 식별자pk — NOT NULL
- 약속시간 (datetime)
- 약속장소 (place) — 거래위치
messages (메시지)
- 메시지 식별자PK (id) — Primary key — NOT NULL
- 메시지 내용 (content)
- 전송 시간 (createdAt)
- 작성자 (senderId) — int — Foreign key → users.사용자 식별자pk — NOT NULL
- 게시글 식별자pk (postId) — Foreign key → posts.게시글 식별자pk — NOT NULL
posts (글)
- 게시글 식별자pk (id) — Primary key — NOT NULL
- 제목 (title)
- 상세설명 (description)
- 가격 (price)
- 이미지경로 (imageUrl)
- 거래위치 (location)
- 상태 (status)
- 작성 시간 (createdAt)
- 판매자 (sellerId) — int — Foreign key → users.사용자 식별자pk — NOT NULL
users (유저)
- 사용자 식별자pk (id) — int — Primary key — NOT NULL
- 이름 (name)
- 주소 (address)
- 유저아이디 (userId) — 상태
- 유저비밀번호 (password) — 거래위치