comment nest.js

Tables (3)

Comment (Untitled)

  • primaryCommentId (Key) — Primary key — NOT NULL
  • primaryPostId (Key2) — Foreign key → Post.primaryPostId — NOT NULL
  • primaryUserId (Key3) — Foreign key → User.primaryUserId — NOT NULL
  • content (Field)
  • children (Field2) — Comment

Post (Untitled2)

  • primaryPostId (Key) — Primary key — NOT NULL
  • primaryUserId (Key2) — Foreign key → User.primaryUserId — NOT NULL
  • content (Field)

User (Untitled3)

  • primaryUserId (Key) — Primary key — NOT NULL
  • userId (Field)
  • userPw (Field2)
  • userName (Field3)