mini stream test

Tables (3)

File

  • 파일아이디 (file_id) — BIGINT — Primary key — NOT NULL
  • 수업아이디 (class_id) — BIGINT — Foreign key → class.수업아이디 — NOT NULL
  • 파일위치 (file_location) — VARCHAR(256) — NOT NULL
  • 유저아이디 (user_id) — VARCHAR(45) — NOT NULL

User

  • 유저아이디 (user_id) — BIGINT — Primary key — NOT NULL
  • 유저이름 (user_name) — VARCHAR(45) — NOT NULL
  • 유저모드 (user_mode) — enum("prof", "stud", "manager") — NOT NULL
  • 유저패스워드 (user_password) — VARCHAR(45) — NOT NULL

class (class_id)

  • 수업아이디 (class_id) — BIGINT — Primary key — NOT NULL
  • 유저아이디 (user_id) — BIGINT — Foreign key → User.유저아이디 — NOT NULL
  • 수업비밀번호 (class_password) — INT — NOT NULL
  • 수업자료 (class_file) — BIGINT