멘팅
테이블 (5)
Accounts (Untitled5)
- id (Key) — integer — 기본 키 — NOT NULL
- email (Field) — text — NOT NULL — 구글 계정
Categories (Untitled)
- id (Key) — integer — 기본 키 — NOT NULL
- name (Field) — string(20) — NOT NULL — 과목명
Matchings (Untitled3)
- id (Key) — integer — 기본 키 — NOT NULL
- category_id (Key3) — integer — 외래 키 → Categories.id — NOT NULL — 어떤 카테고리에 소속
- user_id (Key2) — integer — 외래 키 → Users.id — NOT NULL — 어떤 유저의 매칭
- selfIntro (Field) — text — 자기 소개
Talents (Untitled4)
- id (Key) — integer — 기본 키 — NOT NULL
- matching_id (Key2) — integer — 외래 키 → Matchings.id — NOT NULL — 어떤 매칭의 특기
- title (Field) — string(100) — NOT NULL — 특기명
Users (Untitled2)
- id (Key) — integer — 기본 키 — NOT NULL
- account_id (Key2) — integer — 외래 키 → Accounts.id — NOT NULL — 계정
- name (Field) — string(10) — NOT NULL — 이름
- age (Field2) — integer — NOT NULL — 나이
- gender (Field3) — integer — NOT NULL — 성별 (남자0, 여자1)
- school (Field4) — string(10) — 학교
- self_intro (Field5) — text — NOT NULL — 자기소개
- menti_count (Field6) — integer — NOT NULL — 남은 멘티 회수
- image (Field7) — text — 사진 URL