KDT A-2 1차 프로젝트

테이블 (5)

User (Untitled)

  • 고유 번호 (id) — not null. PK — 기본 키 — NOT NULL
  • 아이디 (userId) — not null, unique
  • 비밀번호 (password) — not null
  • 이메일 (email)
  • 전화번호 (callnum) — not null, unique
  • 이름 (username)
  • 생년월일 (birth) — not null
  • 역할 (role) — not null
  • 생성일자 (createdDate) — not null
  • 수정일자 (updatedDate) — not null

role (Untitled5)

  • 역할 아이디 (role_id) — not null. PK — 기본 키 — NOT NULL
  • 로그인한 사용자 (USER_T) — not null
  • 로그인하지 않은 사용자 (USER_F) — notnull
  • 관리자 (ADMIN) — not null

게시판 댓글 (Untitled2)

  • 댓글 아이디 (rid) — not null. PK — 기본 키 — NOT NULL
  • 댓글 내용 (r_content) — not null

사진 게시판 (Untitled6)

  • 보드 아이디 (board_id) — not null. PK — 기본 키 — NOT NULL
  • 제목 (title) — not null
  • 내용 (content) — not null
  • 작성자 (writer) — not null, unique
  • 조회수 (view) — not null
  • 작성일자 (createdDate) — not null
  • 수정일자 (updatedDate) — not null
  • 북마크 (bookmark) — not null
  • 좋아요 (Field)
  • 이미지 url (Field2) — not null

커뮤니티 게시판 (Untitled3)

  • 보드 아이디 (commu_id) — not null. PK — 기본 키 — NOT NULL
  • 제목 (title) — not null
  • 내용 (content) — not null
  • 작성자 (writer) — not null, unique
  • 작성일자 (createdDate) — not null
  • 수정일자 (updateDate) — not null