antigravity
Tables (4)
Bookmark (찜)
- 찜 아이디 (id) — BIGINT — Primary key — NOT NULL
- 상품 아이디 (product_id) — BIGINT
- 유저 아이디 (user_id) — BIGINT — Foreign key → Users.유저 아이디 — NOT NULL
Product (상품)
- 상품 아이디 (id) — BIGINT — Primary key — NOT NULL
- 상품 식별값 (sku) — VARCHAR(60)
- 상품명 (name) — VARCHAR(125)
- 상품 가격 (price) — DECIMAL
- 상품 재고량 (quantity) — INT
- 상품 생성시간 (created_at) — datetime
- 상품 수정시간 (updated_at) — datetime
- 상품 삭제시간 (deleted_at) — datetime
Product_hits (상품 조회수)
- 상품 조회수 아이디 (id) — BIGINT — Primary key — NOT NULL
- 상품명 (product_id) — BIGINT
- 조회수 (hits) — BIGINT
Users (유저)
- 유저 아이디 (id) — BIGINT — Primary key — NOT NULL
- 유저 이메일 (email) — VARCHAR(120)
- 유저명 (name) — VARCHAR(45)
- 유저 생성시간 (created_at) — datetime
- 유저 삭제시간 (deleted_at) — datetime