SNS

Tables (3)

follow (팔로잉, 팔로우 데이터 관리)

  • follow_id (PK) — bigint — Primary key — NOT NULL
  • member_id (PK2) — bigint — Foreign key → member.member_id — NOT NULL
  • member_id (FK) — bigint
  • follow (Field) — varchar(50)

member (사용자)

  • member_id (PK) — bigint — Primary key — NOT NULL
  • Field

post (게시글)

  • post_id (PK) — bigint — Primary key — NOT NULL
  • Field