nodejs_self_poto_share

Tables (3)

Comment (댓글)

  • 아이디 (comment_id) — BIGINT — Primary key — NOT NULL
  • 게시글_아이디 (post_id) — BIGINT — Foreign key → Post.아이디 — NOT NULL
  • 상위_댓글_아이디 (parent_id) — BIGINT — Foreign key → Comment.아이디
  • 내용 (content) — TEXT — NOT NULL
  • 이름 (name) — VARCHAR(255) — NOT NULL
  • 비밀번호 (password) — VARCHAR(255) — NOT NULL
  • 생성시간 (created_at) — datetime(6) — NOT NULL
  • 수정시간 (updated_at) — datetime(6) — NOT NULL

Post (게시글)

  • 아이디 (post_id) — BIGINT — Primary key — NOT NULL
  • 내용 (content) — VARCHAR(255) — NOT NULL
  • 생성시간 (created_at) — datetime(6) — NOT NULL
  • 수정시간 (updated_at) — datetime(6) — NOT NULL

PostImage (게시글 사진)

  • 아이디 (post_image_id) — BIGINT — Primary key — NOT NULL
  • 게시글_아이디 (post_id) — BIGINT — Foreign key → Post.아이디 — NOT NULL
  • URL (url) — VARCHAR(255) — NOT NULL
  • 순서 (order) — INTEGER — NOT NULL
  • 생성시간 (created_at) — datetime(6) — NOT NULL
  • 수정시간 (updated_at) — datetime(6) — NOT NULL