nodejs-assignment2

Tables (5)

Resume

  • resumeId — String — Primary key — NOT NULL
  • 이력서 제목 (title) — String
  • 자기소개 (content) — String
  • 이력서 상태 (status) — String
  • 작성 날짜 (createdAt) — DateTime
  • userId — Int — Foreign key → Users.userId — NOT NULL

TokenStorage

  • tokenId — uuid — Primary key — NOT NULL
  • userId — Int — Foreign key → Users.userId — NOT NULL
  • refreshToken — String
  • ip

UserHistories (Untitled)

  • userHistoryId — uuid — Primary key — NOT NULL
  • userId — Int — Foreign key → Users.userId — NOT NULL
  • 수정필드 (changedField) — String
  • 이전 값 (oldValue) — String
  • 수정 값 (newValue) — String
  • 수정날짜 (changedAt) — DateTime

UserInfos

  • userInfoId — Int — Primary key — NOT NULL
  • userId — Int — Foreign key → Users.userId — NOT NULL
  • 이름 (name) — String
  • 성별 (gender) — String
  • 나이 (age) — Int
  • 생성일자 (createdAt) — DateTime
  • 수정일자 (updatedAt) — DateTime

Users

  • userId — Int — Primary key — NOT NULL
  • 이메일 (email) — String — NOT NULL
  • 비밀번호 (password) — String
  • 생성일자 (createdAt) — DateTime
  • 수정일자 (updatedAt) — DateTime