5it

Tables (3)

Borad (Board)

  • 게시글 ID (board_Id) — not null — Primary key — NOT NULL
  • 유저 ID (user_Id) — not null — Foreign key → User.유저 ID — NOT NULL
  • 글 내용 (board_content) — not null
  • 작성일 (created_at) — not null
  • 수정일 (updated_at) — not null

User

  • 유저 ID (user_id) — not null — Primary key — NOT NULL
  • 게시글ID (board_id) — not null
  • 비밀번호 (user_pwd) — not null
  • 유저이름 (user_name) — not null
  • 닉네임 (user_nickname) — not null
  • 가입일 (created_at) — not null
  • 수정일 (updated_at) — not null
  • 전화번호 (user_phone)
  • 사진(링크) (user_profile)
  • 소개글 (user_diff)
  • 탈퇴일시 (Field)

friends (Untitled)

  • 친구 테이블 ID (friends_id) — not null — Primary key — NOT NULL
  • 팔로우 유저 ID (follow_id) — not null — Foreign key → User.유저 ID — NOT NULL
  • 팔로잉 유저 ID (following_id) — not null