Sparkfolio

테이블 (3)

사용자 (users)

  • 유저아이디 (member_id) — int — 기본 키 — NOT NULL — autoincrement
  • 비밀번호 (pasword) — string — NOT NULL — 스프링 시큐리티를 쓸것이기 떄문에 길게 (255)잡기
  • 이메일 (email) — string — NOT NULL — 중복 불가
  • 이름 (name) — string — 10자 이내
  • 프로필사진 (profile_photo) — string
  • 흥미 (interest) — String — NOT NULL

이력서 등록 (resumes)

  • 이력서 아이디 (resume_id) — int — 기본 키 — NOT NULL — autoincrement
  • 유저아이디 (user_id) — int — 외래 키 → 사용자.유저아이디 — NOT NULL — autoincrement
  • 카테고리 아이디 (category_id) — int — 외래 키 → 카테고리.카테고리 아이디 — NOT NULL — autoincrement
  • 저자 (author) — string
  • 제목 (title) — string — NOT NULL
  • 메모 (memo) — string — NOT NULL — (메모는 200자 까지)
  • 파일 (file) — string

카테고리 (categories)

  • 카테고리 아이디 (category_id) — int — 기본 키 — NOT NULL — autoincrement
  • 서브카테고리 (subcategory) — string — NOT NULL — 서브카테고리