community

Tables (3)

Comment (댓글)

  • id (Key) — bigint — Primary key — NOT NULL
  • content (Field) — text
  • created_time (Field2) — timestamp
  • likes (Field3) — int
  • id (Key2) — bigint — Foreign key → Post.id — NOT NULL

Image (이미지)

  • id (Key) — bigint — Primary key — NOT NULL
  • original_file_name (Field) — varchar
  • file_name (Field2) — varchar
  • file_path (Field3) — varchar

Post (게시글)

  • id (Key) — bigint — Primary key — NOT NULL
  • title (Field) — text
  • content (Field2) — text
  • likes (Field3) — int
  • created_time (Field4) — timestamp
  • id (Key2) — bigint — Foreign key → Image.id — NOT NULL