sajang
Tables (6)
Category (Untitled4)
- 카테고리번호 (id) — BIGINT — Primary key — NOT NULL
- 카테고리명 (name) — Varchar(50)
Item (Untitled3)
- 상품번호 (id) — BIGINT — Primary key — NOT NULL
- 가격 (price) — BIGINT
- 이미지 (image) — BIGINT
- 잔여수량 (left) — BIGINT
- 상품상태 (status) — Varchar(50)
Item_category (Untitled6)
- 아이템카테고리번호 (id) — BIGINT — Primary key — NOT NULL
- 상품번호 (item_id) — BIGINT
- 카테고리번호 (category_id) — BIGINT
- 상품번호 (id2) — BIGINT — Foreign key → Item.상품번호 — NOT NULL
- 카테고리번호 (id3) — BIGINT — Foreign key → Category.카테고리번호 — NOT NULL
Order (Untitled2)
- 주문번호 (id) — BIGINT — Primary key — NOT NULL
- 회원번호 (user_id) — BIGINT — Foreign key → User.회원번호 — NOT NULL
- 상품번호 (item_id) — BIGINT — Foreign key → Item.상품번호 — NOT NULL
- 수량 (quantity) — BIGINT
- 상태 (status) — varchar(50)
- 최종금액 (total_price) — BIGINT
Refresh_token (Untitled5)
- 고유번호 (id) — BIGINT — Primary key — NOT NULL
- 토큰문자열 (refresh_token) — Varchar(50)
- 유효시간 (ttl) — BIGINT
- 회원번호 (users_id) — BIGINT
- 회원번호 (id2) — BIGINT — Foreign key → User.회원번호 — NOT NULL
User (Untitled)
- 회원번호 (id) — BIGINT — Primary key — NOT NULL
- 사용자명 (username) — Varchar(50)
- 사용가능한마일리지 (mileage) — BIGINT
- 주소 (address) — Varchar(50)
- 소셜로그인식별자 (providerId) — Varchar(50)
- 최근결제금액 (recentlyUsed) — BIGINT
- 우편번호 (postcode) — Varchar(50)
- 상세주소 (address_detail) — Varchar(50)