북마크 DB

테이블 (5)

comment (책에 남기는 코멘트)

  • id (commentId) — integer — 기본 키 — NOT NULL
  • title — string
  • content — string
  • page — string
  • date — string
  • id (book_id) — integer — 외래 키 → read_book.id — NOT NULL

follower (유저를 팔로우하는 사람)

  • id (user_id) — integer — 기본 키 — NOT NULL
  • name — string
  • description — string
  • following (following_id) — integer — 외래 키 → user.id — NOT NULL

following (유저가 팔로잉 하는 사람)

  • id (user_id) — integer — 기본 키 — NOT NULL
  • name — string
  • description — string
  • follower (follower_id) — integer — 외래 키 → user.id — NOT NULL

read_book (읽은 책)

  • id (book_id) — integer — 기본 키 — NOT NULL
  • title — string
  • image — string
  • pub_info — string
  • subTitle — string
  • description — string
  • id (user_id) — integer — 외래 키 → user.id — NOT NULL

user (유저 계정)

  • id (user_id) — integer — 기본 키 — NOT NULL
  • password — string
  • name — string
  • description — string