토이프젝

테이블 (4)

게시물 (post)

  • 게시물 아이디 (postId) — 기본 키 — NOT NULL
  • 생성일 (createdDate)
  • 수정일 (modifiedDate)
  • 제목 (title)
  • 내용 (content)
  • 유저아이디(key) (userId) — 외래 키 → 회원.유저아이디(key) — NOT NULL

게시물 사진 (postImages)

  • 게시물 아이디 (postId) — 외래 키 → 게시물.게시물 아이디 — NOT NULL
  • 이미지 경로(저장 위치) (imageUrl)
  • 파일명 (imageName)

프로필 (profile)

  • 유저아이디(key) (userId) — 외래 키 → 회원.유저아이디(key) — NOT NULL
  • 한줄소개 (intro)
  • 생년월일 (birth)
  • 프로필 이미지 경로 (profileImgUrl)
  • 프로필 이미지 명 (profileImgName)

회원 (Users)

  • 유저아이디(key) (userId) — 기본 키 — NOT NULL
  • 아이디 (id)
  • 이름 (name)
  • 휴대폰 (phone)
  • 이메일 (email)
  • 비밀번호 (password)