Oh-Mo
Tables (15)
ScheduleAssignee (Untitled8)
- ScheduleAssignee_id (할당된 일정 아이디) — Primary key — NOT NULL
- routine_id (루틴 아이디) — not null — Foreign key → routine.routine_id — NOT NULL
- todo_id (투두 아이디) — not null — Foreign key → todo.todo_id — NOT NULL
- user_group_id (유저 그룹 아이디) — Foreign key → user_group.user_group_id — NOT NULL
- status (Field)
answer (답)
- answer_id (답 아이디) — Primary key — NOT NULL
- answer (답 내용)
- date (날짜)
- question_id (질문 아이디) — Foreign key → questtion.question_id — NOT NULL
daylog (해당 날의 이모지와 피드백 문구를 위한 테이블)
- daylog_id (데이로그 아이디) — Primary key — NOT NULL
- user_id (사용자 아이디) — Foreign key → user.user_id — NOT NULL
- date (날짜)
- emoji (이모지)
- feedback (피드백)
diary (일기)
- diary_id (일기 아이디) — Primary key — NOT NULL
- content (내용)
- date (날짜)
- user_id (사용자 아이디) — Foreign key → user.user_id — NOT NULL
group (Untitled5)
- group_id (그룹 아이디) — Primary key — NOT NULL
- group_name (그룹 이름)
- group_code (그룹 입장 코드)
- group_color (그룹 색깔)
keyword (Untitled2)
- key_word_id (키워드 아이디) — Primary key — NOT NULL
- key_word (키워드)
- date (날짜)
- diary_id (일기 아이디) — Foreign key → diary.diary_id — NOT NULL
notiece (공지사항)
- notice_id (공지사항 아이디) — Primary key — NOT NULL
- 공지사항 (notice)
- 날짜 (date)
- group_id (그룹 아이디) — Foreign key → group.group_id — NOT NULL
questtion (Untitled6)
- question_id (질문 아이디) — Primary key — NOT NULL
- content (질문 내용)
- emoji (질문 이모티콘)
- user_id (사용자 아이디) — Foreign key → user.user_id — NOT NULL
routine (루틴)
- routine_id (루틴 아이디) — not null — Primary key — NOT NULL
- schedule_id (일정 아이디) — Foreign key → schedule.schedule_id — NOT NULL
- date (날짜)
- status (완료 여부)
- week (요일)
- created_at (생성일)
- updated_at (수정일)
schedule (CopyOf일정)
- schedule_id (일정 아이디) — Primary key — NOT NULL
- user_caregory_id (유저 카테고리 아이디) — Foreign key → user_category.user_caregory_id — NOT NULL
- group_id (그룹 아이디) — Foreign key → group.group_id — NOT NULL
- date (날짜) — 루틴인 경우 루틴 끝나는 날짜 저장함
- time (시간)
- allow_alarm (알람 허용 여부)
- alarm_time (알람 시간)
- content (내용)
- schedule_type (일정 타입)
- created_at (생성일)
- updated_at (수정일)
- user_group_id (유저 그룹 아이디) — Foreign key → user_group.user_group_id — NOT NULL
schedule_repeat_days (반복 요일)
- routine_week_id (요일 아이디) — Primary key — NOT NULL
- schedule_id (일정 아이디) — Foreign key → schedule.schedule_id — NOT NULL
- day_of_week (요일)
todo (투두)
- todo_id (투두 아이디) — not null — Primary key — NOT NULL
- schedule_id (일정 아이디) — Foreign key → schedule.schedule_id — NOT NULL
- status (완료 여부)
- created_at (생성일)
- updated_at (수정일)
user (Untitled)
- user_id (사용자 아이디) — Primary key — NOT NULL
- nickname (닉네임)
- email (이메일)
- social (로그인 방식)
- profile_image_url (프로필 사진)
user_category (Untitled3)
- user_caregory_id (유저 카테고리 아이디) — Primary key — NOT NULL
- category_name (카테고리 이름)
- color (카테고리 색)
- scheudle_type (일정 타입)
- user_id (사용자 아이디) — Foreign key → user.user_id — NOT NULL
user_group (Untitled7)
- user_group_id (유저 그룹 아이디) — Primary key — NOT NULL
- group_id (그룹 아이디2) — Foreign key → group.group_id — NOT NULL
- user_id (사용자 아이디) — Foreign key → user.user_id — NOT NULL
- role (역할) — admin, member
- nickname (닉네임)