탭스페이스

테이블 (15)

appliers (랜딩사전신청자)

  • applierId (PK) — 기본 키 — NOT NULL
  • category (학습과정카테고리) — choice
  • phone (신청자번호) — char(11) no hyphen

commentReplies (강의 대댓글)

  • commentRepliesId (PK) — 기본 키 — NOT NULL
  • lectureCommentId (FK1) — 외래 키 → lectureComments.lectureCommentId — NOT NULL
  • userId (FK2) — 외래 키 → users.userId — NOT NULL
  • reply (대댓글) — Text(1000)

courseReviews (전체 강의 평가)

  • courseReviewId (PK) — 기본 키 — NOT NULL
  • userId (FK) — 외래 키 → users.userId — NOT NULL
  • score (평점) — char(1)
  • comment (의견) — Text(1000)

dashboards (대시보드)

  • dashboardId (PK) — 기본 키 — NOT NULL
  • userId (FK) — 외래 키 → users.userId — NOT NULL
  • attendance (한달출석) — char(50)
  • notification (알림) — text(1000)

homeworks (숙제)

  • homeworkId (PK) — 기본 키 — NOT NULL
  • title (과제명) — char(50)

lectureCategories (강의카테고리)

  • lecturecategoryId (PK) — 기본 키 — NOT NULL
  • name (강의카테고리명) — char(50)

lectureComments (강의 댓글)

  • lectureCommentId (PK) — 기본 키 — NOT NULL
  • userId (FK1) — 외래 키 → users.userId — NOT NULL
  • lectureId (FK2) — 외래 키 → lectures.lectureId — NOT NULL
  • comment (댓글) — Text(1000)

lecture_rooms (수강장)

  • roomId (PK) — 기본 키 — NOT NULL
  • userId (FK1) — 외래 키 → users.userId — NOT NULL
  • lectureId (FK2) — 외래 키 → lectures.lectureId — NOT NULL
  • play_time (누적재생시간) — positiveInt
  • end_time (영상중지시점) — positiveInt
  • progress (강의 수강 진행률) — positiveInt
  • completed (강의수강완료여부) — bool

lectures (강의)

  • lectureId (PK) — 기본 키 — NOT NULL
  • lecturecategoryId (FK) — 외래 키 → lectureCategories.lecturecategoryId — NOT NULL
  • title (제목) — char(100)
  • teacher (강사명) — char(20)
  • duration (강의러닝타임) — positiveInt
  • videoId (유튜브비디오아이디) — char(100)
  • date (강의오픈일) — char(8) — NOT NULL
  • today_lecture (오늘의강의여부) — bool
  • active_lecture (재생가능여부) — bool

secretKey (회원가입 용 보안키)

  • secretId (PK) — 기본 키 — NOT NULL
  • master (소유자명) — char(50)
  • phone (연락처) — char(11) no hyphen
  • key (보안키번호) — char(20)
  • active (사용가능여부) — bool

storage (과제저장소)

  • storageId (PK) — 기본 키 — NOT NULL
  • submissionId (FK) — 외래 키 → submissions.submissionId — NOT NULL
  • url (저장소주소) — char(100)
  • file (파일) — file

submissions (숙제제출)

  • submissionId (PK) — 기본 키 — NOT NULL
  • dashboardId (FK1) — 외래 키 → dashboards.dashboardId — NOT NULL
  • homeworkId (FK2) — 외래 키 → homeworks.homeworkId — NOT NULL
  • completed (과제완료여부) — bool

userGrowths (능력치)

  • usersgrowthsId (PK) — 기본 키 — NOT NULL
  • lecturecategoryId (FK1) — 외래 키 → lectureCategories.lecturecategoryId — NOT NULL
  • dashboardId (FK2) — 외래 키 → dashboards.dashboardId — NOT NULL
  • ability (과목별 능력치) — positiveInt

users (수강생)

  • userId (PK) — 기본 키 — NOT NULL
  • username ('1'+카카오id) — char(50)
  • realname (실명) — char(50)
  • phone (전화번호) — char(11) no hyphen
  • email (메일주소)
  • secretKey (인증코드) — char(20)
  • msg_agree (메시지수신동의) — bool
  • uuid — uuid4

weekdays (캘린더)

  • calendarId (PK) — 기본 키 — NOT NULL
  • month (이번 월) — char(2)
  • days (이번 달의 월-금) — char(250)
  • korean_holidays (이번달의 공휴일) — char(50)