KoreaIT_test_0804

Tables (4)

auth_mst (회원)

  • auth_code (회원코드) — PK,AI — Primary key — NOT NULL
  • auth_name (회원 이름) — NOT NULL
  • auth_introduction (회원 소개)
  • create_date (생성일) — NOT NULL
  • update_date (수정일) — NOT NULL

auth_writing (유저-글 연결)

  • auth_code (회원코드) — PK,AI — Primary key — NOT NULL
  • writing_code (글 번호) — PK,AI — Primary key — NOT NULL
  • auth_code (회원코드2) — PK,AI — Foreign key → auth_mst.auth_code — NOT NULL

comment_mst (댓글)

  • comment_code (댓글 코드) — PK,AI — Primary key — NOT NULL
  • comment_description (댓글 내용) — NOT NULL
  • writing_code (글 번호) — PK,AI — NOT NULL
  • auth_code (회원 코드) — PK,AI — NOT NULL
  • create_date (생성일) — NOT NULL
  • update_date (수정일) — NOT NULL
  • auth_code (회원코드) — PK,AI — Foreign key → auth_mst.auth_code — NOT NULL

writing_mst (글)

  • writing_code (글번호) — PK,AI — Primary key — NOT NULL
  • auth_code (회원코드) — PK,AI — Foreign key → auth_writing.auth_code — NOT NULL
  • writing_code (글 번호) — PK,AI — Foreign key → auth_writing.writing_code — NOT NULL
  • auth_code (회원코드2) — PK,AI — Foreign key → auth_writing.auth_code — NOT NULL
  • writing_title (글제목) — NOT NULL
  • writing_description (글내용)
  • create_date (생성일) — NOT NULL
  • update_date (수정일) — NOT NULL
  • comment_code (댓글 코드) — PK,AI — Foreign key → comment_mst.comment_code — NOT NULL