스마트폰익힘서 - 2022-10-09 11:57:07

테이블 (6)

Comment (Untitled6)

  • 댓글 아이디 (comment_id) — Not null — 기본 키 — NOT NULL
  • 댓글 내용 (comment_contentv) — Not null
  • 작성 날짜 (created_at) — not null
  • 수정 날짜 (updated_at) — Not null
  • Field
  • 게시글 아이디 (post_id) — not null, fk — 외래 키 — NOT NULL
  • 유저 아이디 (user_id) — 외래 키 — NOT NULL

Post (Untitled5)

  • 게시글 아이디 (post_id) — not null, fk — 기본 키 — NOT NULL
  • 제목 (title) — not null
  • 작성날짜 (created_at) — not null
  • 수정날짜 (updated_at) — notnull
  • 내용 (content) — not null
  • 카테고리 (category) — not null
  • Field
  • 유저 아이디 (user_id) — 외래 키 — NOT NULL

Template (Untitled4)

  • 템플릿 아이디 (template_id) — Not null, pk — 기본 키 — NOT NULL
  • 템플릿 듀토리얼 (template_tutorial)
  • 템플릿 카드자판기 (template_card)
  • 템플릿 모바일 쇼핑 (template_shopping)
  • Key — 외래 키 — NOT NULL

User (Untitled)

  • 유저 아이디 (user_id) — 기본 키 — NOT NULL
  • 유저 이름 (user_name) — not null
  • 유저 비밀번호 (user_password) — not null
  • 유저 전화번호 (user_phonenumber) — varchar(50)
  • 유저 이메일 (user_email) — varchar(50)
  • Field

User_RequestTemplate (Untitled2)

  • Key — 기본 키 — NOT NULL
  • Field
  • 유저 아이디 (user_id) — 외래 키 — NOT NULL
  • 관리자 아이디 (admin_id) — not null Pk — 외래 키 — NOT NULL

admin (Untitled3)

  • 관리자 아이디 (admin_id) — not null Pk — 기본 키 — NOT NULL
  • 관리자 이름 (admin_name) — not null
  • 관리자 비밀번호 (admin_password) — not null
  • 관리자 이메일 (admin_email) — varchar(50)
  • 관리자 전화번호 (admin_phonenumber) — not null
  • Field