style buddy
테이블 (6)
스크랩한 스타일 레퍼런스 (scrapped_style_references)
- Key (member_id) — bigint — 외래 키 → 회원.Key — NOT NULL
- Key (style_reference_id) — bigint — 외래 키 → 스타일 레퍼런스.Key — NOT NULL
스타일 레퍼런스 (style_references)
- Key (id) — bigint — 기본 키 — NOT NULL
- 사진 URL (Image_url) — text
- 생성일자 (created_at) — timestamp
옷 아이템 (closet_items)
- Key (id) — bigint — 기본 키 — NOT NULL
- Key (member_id) — bigint — 외래 키 → 회원.Key — NOT NULL
- 사진 URL (image_url) — text
- 카테고리 (category) — enum
- 삭제 여부 (is_deleted) — boolean
- 생성일자 (created_at) — timestamp
저장한 코디 (saved_coordinations)
- Key (member_id) — bigint — 외래 키 → 회원.Key — NOT NULL
- Key (coordination_id) — bigint — 외래 키 → 코디.Key — NOT NULL
코디 (coordinations)
- Key (id) — bigint — 기본 키 — NOT NULL
- Key (closet_item_id) — bigint — 외래 키 → 옷 아이템.Key — NOT NULL
- 사진 URL (image_url) — text
- 생성일자 (created_at) — timestamp
회원 (member)
- Key (id) — bigint — 기본 키 — NOT NULL
- 이메일 (email) — varchar(100)
- 비밀번호 (password) — varchar(255)
- 이름 (name) — varchar(50)
- 프로필 사진 URL (profile_image_url) — text
- 생성일자 (created_at) — timestamp
- 수정일자 (updated_at) — timestamp