hasura

Tables (6)

content (컨텐트)

  • id (아이디) — text — Primary key — NOT NULL
  • title (제목) — text
  • video_url (비디오 링크) — text
  • note (강의 노트) — text
  • is_preview (미리보기 가능 여부) — boolean
  • id (아이디2) — number — Foreign key → lecture.id — NOT NULL

lecture (강의)

  • id (아이디) — number — Primary key — NOT NULL
  • title (제목) — text
  • content_order (컨텐트 순서) — array
  • creat_at (등록일) — date
  • id (아이디2) — number — Foreign key → program.id — NOT NULL

program (프로그램)

  • id (아이디) — number — Primary key — NOT NULL
  • title (제목) — text
  • description (설명) — text
  • introduce (소개) — text
  • lecture_order (강의 목록 순서) — array
  • create_at (등록일) — date
  • email (이메일) — text — Foreign key → teacher.email — NOT NULL

program_take (프로그램 수강)

  • email (이메일) — text — Foreign key → user.email — NOT NULL
  • id (아이디) — number — Foreign key → program.id — NOT NULL
  • create_at (수강일) — date

teacher (강사)

  • email (이메일) — text — Foreign key → user.email — NOT NULL
  • create_at (등록일) — date

user (회원)

  • email (이메일) — text — Primary key — NOT NULL
  • password (비밀번호) — text
  • name (이름) — text
  • create_at (가입일) — date