ProjectReport

테이블 (3)

유저 테이블 (User)

  • 식별자 (userId) — Not Null — 기본 키 — NOT NULL
  • 이름 (name) — Not Null
  • 이메일 (email) — Not Null
  • 생성 시간 (createdTime) — Not Null
  • 수정 시간 (modifiedDate) — Not Null

유저파일중간 테이블 (user_file)

  • 식별자 (userFileId) — Not Null — 기본 키 — NOT NULL
  • 식별자 (userId) — Not Null — 외래 키 → 유저 테이블.식별자 — NOT NULL
  • 식별자 (fileId) — Not Null — 외래 키 → 파일 테이블.식별자 — NOT NULL
  • 파일 권한 (role) — Not Null

파일 테이블 (File)

  • 식별자 (fileId) — Not Null — 기본 키 — NOT NULL
  • 파일 이름 (fileName) — Not Null
  • 파일 내용 (fileDetail) — Null
  • 파일 생성일 (createdTime) — Not Null
  • 파일 수정일 (modifiedTime) — Not Null
  • 파일 권한 (role) — Not Null