blogCRUD

Tables (3)

Post (Untitled)

  • id — Long — Primary key — NOT NULL
  • title — String — NOT NULL
  • id (id2) — Long — Foreign key → User.id — NOT NULL
  • author — String
  • password — String
  • content — String
  • createdAt — LocalDateTime
  • modifiedAt — LocalDateTime

Reply (Untitled3)

  • id — Long — Primary key — NOT NULL
  • user_id — Long — Foreign key → User.id — NOT NULL
  • post_id — Long — Foreign key → Post.id — NOT NULL
  • ReplyContent — String
  • createdAt — LocalDateTime
  • modifiedAt — LocalDateTime

User (Untitled2)

  • id — Long — Primary key — NOT NULL
  • nickname — String
  • password — String
  • createdAt — LocalDateTime
  • modifiedAt — LocalDateTime