o2o-Dinosaur
Tables (9)
childrens (유저 자녀들)
- id (자녀 아이디) — uuid4 — Primary key — NOT NULL
- user_id (유저 아이디) — uuid4 — Foreign key → users.id — NOT NULL
- name (이름) — str
- age (나이) — int
- gender (성별) — str
dino_files (공룡_파일)
- file_id (파일 아이디) — uuid4 — Foreign key → order.id — NOT NULL
- dino_id (공룡 아이디) — uuid4 — Foreign key → dinosaurs.id — NOT NULL
dinosaurs (공룡)
- id (공룡 아이디) — uuid4 — Primary key — NOT NULL
- name (이름) — str
- feature (특징) — str
order (파일)
- id (파일 아이디) — uuid4 — Primary key — NOT NULL
- url (파일 주소) — str
- type (파일 형식) — str
- request_time (요청 시간) — datetime
- upload (업로드 유무) — boolean
- created_at (생성 시간) — datetime
- updated_at (수정 시간) — datetime
reference_song (레퍼런스 노래)
- id (노래 아이디) — uuid4 — Primary key — NOT NULL
- title (노래 제목) — str
- genre (노래 장르) — str
- mood (노래 분위기) — str
- url (youtube 링크) — str
- duration_milliseconds (노래 길이) — int
song (노래)
- id (노래 아이디) — uuid4 — Primary key — NOT NULL
- title (노래 제목) — str
- genre (노래 장르) — str
- mood (노래 분위기) — str
user_file (유저_파일)
- file_id (파일 아이디) — uuid4 — Foreign key → order.id — NOT NULL
- child_id (자녀 아이디) — uuid4 — Foreign key → childrens.id — NOT NULL
user_request (유저 요청사항)
- id (아이디) — uuid4 — Primary key — NOT NULL
- title (영상 제목) — str
- Field
users (유저)
- id (유저 아이디) — uuid4 — Primary key — NOT NULL
- name (이름) — str
- phone_number (핸드폰 번호) — str