mildang
Tables (9)
Untitled (oauth2_token)
- Key (id) — Primary key — NOT NULL
- Field (token_type) — string — NOT NULL — 토큰 타입
- Field (access_token) — string — NOT NULL
- Field (refresh_token) — string — NOT NULL
- Field (issued_at) — timestamp — NOT NULL — 생성 시간
- Field (expires_in) — timestamp — NOT NULL — 만료 시간
- Field (remember-me) — boolean — NOT NULL — 자동 로그인
- id (user_id) — uuid — Foreign key → User.id — NOT NULL
Untitled (group)
- Key (id) — uuid — Primary key — NOT NULL
- Field (teacher_id) — uuid — NOT NULL — 선생님 id
- Field (student_id) — json — NOT NULL — 학생 id
- Field2 (group_name) — string — NOT NULL — 그룹 이름
- Field2 (class) — string — NOT NULL — 수준
- Field (grade) — string — NOT NULL — 학년
- Field (feed_id) — string — NOT NULL — 강의 id
Untitled (feed)
- Key (id) — string — Primary key — NOT NULL
- Field (title) — string — NOT NULL — 제목
- Field (sub_title) — string — NOT NULL — 부제목
- Field (description) — string — NOT NULL — 설명
- Field (thumbnail) — string — NOT NULL — 썸네일
- Field (thumbnail_s) — string — 썸네일 S 사이즈
- Field2 (thumbnail_m) — string — 썸네일 M 사이즈
- Field3 (thumbnale_l) — string — 썸네일 L 사이즈
- Field (is_visible) — boolean — NOT NULL — 공개 여부
- Field (teacher) — string — NOT NULL — 선생님 이름
- Field (total_resources) — number — NOT NULL — 강의 컨텐츠 수
- Field (share_social_url) — string — 관련 소셜 링크
Untitled (feed_content)
- Key (id) — string — Primary key — NOT NULL
- Field (title) — string — NOT NULL — 강의 제목
- Field (sub_title) — string — NOT NULL — 강의 부제목
- Field2 (description) — string — NOT NULL — 강의 설명
- Field (content) — json — NOT NULL — 해당 강의에 대한 컨텐츠 (e.g. 동영상, 객관식 문제, 문법 문제 등)
- Key (feed_id) — string — Foreign key → Untitled.Key — NOT NULL — 피드 id
Untitled (progress)
- Key (id) — uuid — Primary key — NOT NULL
- Field (student_id) — string — NOT NULL — 학생 id
- Field (feed_id) — string — NOT NULL — 피드 id
- Field (feed_content_id) — string — NOT NULL — 피드 컨텐츠 id
- Field (is_completed) — boolean — NOT NULL — 완료 여부
- Field (last_timestamp) — number — NOT NULL — 마지막 재생 시간
- Field (max_timestamp) — number — NOT NULL — 최종 재생 시간
- Field (created_at) — date — NOT NULL
- Field (updated_at) — date — NOT NULL
Untitled (progress_stat)
- Key (id) — uuid — Primary key — NOT NULL
- Field (student_id) — string — NOT NULL — 학생 id
- Field (feed_id) — string — NOT NULL — 피드 id
- Field (complete_count) — number — NOT NULL — 완료 갯수
- Field (incomplete_count) — number — NOT NULL — 미완료 갯수
- Field (complete_rate) — number — NOT NULL — 진행률
- Field (created_at) — date — NOT NULL
- Field (updated_at) — date — NOT NULL
Untitled (player_logs)
- Key (id) — uuid — Primary key — NOT NULL
- Field (student_id) — string — NOT NULL — 학생 id
- Field (action) — string — NOT NULL — e.g. 동영상 재생, 일시정지 등
- Field (info) — json — NOT NULL — 로그 정보
- Field (created_at) — date — NOT NULL
- Field (updated_at) — date — NOT NULL
Untitled (school)
- Key (id) — string — Primary key — NOT NULL
- Field (name) — string — NOT NULL — 학교 이름
User (user)
- id — uuid — Primary key — NOT NULL
- Field2 (name) — string — NOT NULL — 이름
- Field3 (email) — string — NOT NULL — 이메일
- Field (hashed_password) — string — NOT NULL — 해싱된 패스워드
- Field4 (is_active) — boolean — NOT NULL — 탈퇴 여부
- Field (role) — string — NOT NULL — 학생 / 선생님
- Field (created_at) — date — NOT NULL — 가입 일자
- Field (updated_at) — date — NOT NULL — 개인정보 수정 일자
- Key (school_id) — string — Foreign key → Untitled.Key — NOT NULL