Hooking
Tables (9)
Brand (브랜드)
- id (pk) — INT — Primary key — NOT NULL
- brand_name (브랜드 명)
- brand_intro (브랜드 소개)
- brand_link (브랜드 인스타 링크)
- brand_product (제품군)
- brand_age (타켓 나이대)
- brand_price (가격대)
Card (카피라이팅 카드)
- id (카드 식별번호) — NOT NULL — Primary key — NOT NULL
- text (카피라이팅 본문) — NOT NULL
- scap_cnt (스크랩 횟수) — INT
- created_at (생성일자) — NOT NULL
- brand_id (브랜드 식별번호) — NOT NULL — Foreign key → Brand.id — NOT NULL
Have (소유)
- Key — INT — Primary key — NOT NULL
- mood_id (분위기 식별번호) — INT — Foreign key → Mood.id — NOT NULL
- brand_id (브랜드 식별번호) — INT — Foreign key → Brand.id — NOT NULL
Mood (분위기)
- id (분위기 식별번호) — NOT NULL — Primary key — NOT NULL
- mood_name (분위기 이름) — NOT NULL
Review (건의사항)
- id (건의사항 식별번호) — NOT NULL — Primary key — NOT NULL
- title (제목) — NOT NULL
- content (내용) — NOT NULL
- created_at (작성일자) — NOT NULL
- user_id (사용자 식별번호) — NOT NULL — Foreign key → User.id — NOT NULL
Scrap (스크랩)
- id (저장 식별번호) — NOT NULL — Primary key — NOT NULL
- created_at (저장일시) — NOT NULL
- user_id (사용자 식별번호) — NOT NULL — Foreign key → User.id — NOT NULL
- card_id (카드 식별번호) — NOT NULL — Foreign key → Card.id — NOT NULL
User (사용자)
- id (유저 식별번호) — NOT NULL — Primary key — NOT NULL
- nickname (닉네임)
- email (이메일)
- image_name (사진)
- image_url (사진링크)
contain (포함)
- Key — Primary key — NOT NULL
- id (폴더 식별변호) — Foreign key → folder.id — NOT NULL
- id (저장 식별번호) — NOT NULL — Foreign key → Scrap.id — NOT NULL
folder (폴더)
- id (폴더 식별변호) — Primary key — NOT NULL
- name (폴더 이름)
- id (유저 식별번호) — NOT NULL — Foreign key → User.id — NOT NULL