1차회의

테이블 (7)

글귀 (Quote)

  • proverb_id (Key) — Long — 기본 키 — NOT NULL
  • category_id (Key3) — Long — 외래 키 → 카테고리.category_id — NOT NULL
  • user_id (Key2) — Long — 외래 키 → 유저.user_id — NOT NULL
  • title (Field9) — String
  • type (Field8) — enum
  • content (Field) — String
  • author (Field2) — String
  • certified (Field7) — enum
  • liked (Field6) — int
  • createAt (Field3) — Date
  • updateAt (Field4) — Date

메시지 (Message)

  • message_id (Key) — Long — 기본 키 — NOT NULL
  • proverb_id (Key3) — Long — 외래 키 → 글귀.proverb_id — NOT NULL
  • user_id (Key2) — Long — 외래 키 → 유저.user_id — NOT NULL
  • to_id (Field5) — int
  • createAt (Field2) — Date

열람한 운세 (MyFortune)

  • myfortune_id (Key) — Long — 기본 키 — NOT NULL
  • user_id (Key2) — Long — 외래 키 → 유저.user_id — NOT NULL
  • fortune (Field2) — String
  • createAt (Field) — Date

유저 (User)

  • user_id (Key) — Long — 기본 키 — NOT NULL
  • email (Field) — String
  • nickname (Field2) — String
  • password (Field4) — String
  • birthday (Field7) — Date
  • authority (Field3) — enum
  • createAt (Field5) — Date
  • updateAt (Field6) — Date

좋아요한 글귀 (LikedQuote)

  • likedquote_id (Key) — Long — 기본 키 — NOT NULL
  • user_id (Key2) — Long — 외래 키 → 유저.user_id — NOT NULL
  • proverb_id (Key3) — 외래 키 → 글귀.proverb_id — NOT NULL
  • createdAt (Field2)

친구 관계 (Friendship)

  • fs_id (Key) — Long — 기본 키 — NOT NULL
  • user_id (Key2) — Long — 외래 키 → 유저.user_id — NOT NULL
  • friend_id (Field) — int
  • createAt (Field2) — Date

카테고리 (Category)

  • category_id (Key) — Long — 기본 키 — NOT NULL
  • category (Field) — String