goatodo
테이블 (10)
레벨 (levels)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 레벨 (level) — int — NOT NULL
- 요구 경험치 (required_experience) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
소속 (affiliations)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 직업 아이디 (occupation_id) — bigint — 외래 키 → 직업.아이디 — NOT NULL
- 소속 타입 아이디 (affiliation_type_id) — bigint — 외래 키 → 소속타입.아이디 — NOT NULL
- 소속 이름 (name) — varchar(30) — NOT NULL
- 기수 (year) — int
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
소속타입 (affiliation_types)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 소속 타입 (type) — varchar(20) — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
슬랙 정보 (slack_infos)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 슬랙 이메일 (slack_email) — bigint — NOT NULL — Unique
- 알림 시작 시간 (start_time) — time — NOT NULL
- 알림 종료 시간 (end_time) — time — NOT NULL
- 알림 활성화 여부 (is_active) — boolean — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
유저 (users)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 레벨 아이디 (level_id) — bigint — 외래 키 → 레벨.아이디 — NOT NULL
- 직업 아이디 (occupations_id) — bigint — 외래 키 → 직업.아이디 — NOT NULL
- 슬랙 아이디 (slack_info_id) — bigint — 외래 키 → 슬랙 정보.아이디
- 이메일 (email) — varchar(50) — NOT NULL — Unique
- 패스워드 (password) — varchar(50) — NOT NULL
- 닉네임 (nickname) — varchar(15) — NOT NULL — Unique
- 권한 (role) — varchar(10) — NOT NULL
- 경험치 (experience) — int — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
유저_소속 (user_affiliations)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 아이디 (user_id) — bigint — 외래 키 → 유저.아이디 — NOT NULL
- 아이디 (affiliation_id) — bigint — 외래 키 → 소속.아이디 — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
직업 (occupations)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 직업 명 (name) — varchar(20) — NOT NULL — Unique
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
태그 (tags)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — bigint — 외래 키 → 유저.아이디 — NOT NULL — Unique
- 태그 이름 (name) — varchar(15) — NOT NULL — Unique
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
투두 (todos)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — bigint — 외래 키 → 유저.아이디 — NOT NULL
- 태그 아이디 (tag_id) — bigint — 외래 키 → 태그.아이디 — NOT NULL
- 제목 (title) — NOT NULL
- 설명 (description)
- 진행상태 (status) — NOT NULL
- 난이도 (difficulty) — varchar(20) — NOT NULL
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL
회고 (retrospects)
- 아이디 (id) — bigint — 기본 키 — NOT NULL
- 유저 아이디 (user_id) — bigint — 외래 키 → 유저.아이디 — NOT NULL — Unique
- 제목 (title) — varchar(35) — NOT NULL
- 내용 (content) — text — NOT NULL
- 작성일 (write_date) — date — NOT NULL — Unique
- 생성일 (created_at) — datetime — NOT NULL
- 수정일 (updated_at) — datetime — NOT NULL