Friends

Tables (5)

Comment (Untitled3)

  • comment_PK (PK) — Primary key — NOT NULL
  • post (FK) — Foreign key → Post.post_PK — NOT NULL
  • nickname (FK2) — Foreign key → User.user_PK — NOT NULL
  • save_PK (Key) — Foreign key → User.save_PK — NOT NULL
  • post (FK3) — Foreign key → User.post — NOT NULL
  • comment (Field)
  • create_date (Field2)

Like (Untitled2)

  • like_PK (PK) — Primary key — NOT NULL
  • post (FK) — Foreign key → Post.post_PK — NOT NULL
  • nickname (FK2) — Foreign key → User.user_PK — NOT NULL
  • save_PK (Key) — Foreign key → User.save_PK — NOT NULL
  • post (FK3) — Foreign key → User.post — NOT NULL

Post (Untitled)

  • post_PK (PK) — Primary key — NOT NULL
  • author (FK) — Foreign key → User.user_PK — NOT NULL
  • save_PK (Key) — Foreign key → User.save_PK — NOT NULL
  • post (FK2) — Foreign key → User.post — NOT NULL
  • image (Field)
  • comtent (Field2)
  • create_date (Field3)

Save_post (Untitled4)

  • save_PK (Key) — Primary key — NOT NULL
  • post (FK) — Foreign key → Post.post_PK — NOT NULL
  • nickname (FK2) — Foreign key → Post.post — NOT NULL

User (user)

  • user_PK (PK) — Primary key — NOT NULL
  • save_PK (Key) — Foreign key → Save_post.save_PK — NOT NULL
  • post (FK) — Foreign key → Save_post.post — NOT NULL
  • username (Field)
  • password (Field2)
  • nickname (Field3)