HUFS Life

테이블 (9)

자유게시판 글 (community_post)

  • 글 작성자 (author_id) — integer — 기본 키
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 회원.아이디 — NOT NULL
  • 제목 (title) — character varying — NOT NULL
  • 본문 (body) — text
  • 작성 시간 (pub_date) — timestamp with time zone
  • 조회수 (hits) — integer

자유게시판 댓글 (community_comment)

  • 아이디 (id) — integer — 외래 키 → 회원.아이디 — NOT NULL
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 자유게시판 글.게시글 아이디 — NOT NULL
  • 댓글 내용 (comment) — text
  • 작성 시간 (date) — timestamp with time zone
  • 댓글 작성자(익명) (author_id) — integer

정보게시판 글 (community_information)

  • 글 작성자 (author_id) — integer — 기본 키
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 회원.아이디 — NOT NULL
  • 제목 (title) — character varying — NOT NULL
  • 본문 (body) — text
  • 작성 시간 (pub_date) — timestamp with time zone
  • 조회수 (hits) — integer

정보게시판 댓글 (community_infocomment)

  • 아이디 (id) — integer — 외래 키 → 회원.아이디 — NOT NULL
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 정보게시판 글.게시글 아이디 — NOT NULL
  • 댓글 내용 (comment) — text
  • 작성 시간 (date) — timestamp with time zone
  • 댓글 작성자(익명) (author_id) — integer

졸업생 게시판 글 (community_graduate)

  • 글 작성자 (author_id) — integer — 기본 키
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 회원.아이디 — NOT NULL
  • 제목 (title) — character varying — NOT NULL
  • 본문 (body) — text
  • 작성 시간 (pub_date) — timestamp with time zone
  • 조회수 (hits) — integer

졸업생게시판 댓글 (community_gradcomment)

  • 아이디 (id) — integer — 외래 키 → 회원.아이디 — NOT NULL
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 졸업생 게시판 글.게시글 아이디 — NOT NULL
  • 댓글 내용 (comment) — text
  • 작성 시간 (date) — timestamp with time zone
  • 댓글 작성자(익명) (author_id) — integer

홍보게시판 글 (community_pr)

  • 글 작성자 (author_id) — integer — 기본 키
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 회원.아이디 — NOT NULL
  • 제목 (title) — character varying — NOT NULL
  • 본문 (body) — text
  • 작성 시간 (pub_date) — timestamp with time zone
  • 조회수 (hits) — integer

홍보게시판 댓글 (community_prcomment)

  • 아이디 (id) — integer — 외래 키 → 회원.아이디 — NOT NULL
  • 게시글 아이디 (post_id) — bigint — 외래 키 → 홍보게시판 글.게시글 아이디 — NOT NULL
  • 댓글 내용 (comment) — text
  • 작성 시간 (date) — timestamp with time zone
  • 댓글 작성자(익명) (author_id) — integer

회원 (auth_user)

  • 아이디 (id) — integer — 기본 키 — NOT NULL
  • 비밀번호 (password) — character varying — NOT NULL
  • 마지막 접속 (last_login) — timestamp with time zone — NOT NULL
  • 관리자 여부 (is_superuser) — boolean
  • 닉네임 (first_name) — character varying
  • 가입 시간 (date_joined) — timestamp with time zone