post

Tables (3)

comment

  • Id (id) — Long — Primary key — NOT NULL
  • Title (title) — String
  • Contents (contents) — String
  • User_id (user_id) — Long — Foreign key → user.Id — NOT NULL
  • Post_id (post_id) — Long — Foreign key → post.Id — NOT NULL

post

  • Id (id) — Long — Primary key — NOT NULL
  • Username (username) — Sring
  • Password (password) — Strong
  • Role (role) — UserRoleEnum
  • User_id (user_id) — Long — Foreign key → user.Id — NOT NULL

user

  • Id (id) — Long — Primary key — NOT NULL
  • Title (title) — String
  • Username (username) — String
  • Contents (contents) — String