mission_4_erd
테이블 (11)
Copy Of Untitled (food_category)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Field (name) — varchar(15) — NOT NULL
- Field (created_at) — datetime(6) — NOT NULL
Untitled (member_agree)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (member_id) — bigint — 외래 키 → 멤버.Key — NOT NULL — AUTO_INCREMENT
- Key (terms_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (terms)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Field (title) — varchar(20) — NOT NULL
- Field (body) — text
- Field (optional) — boolean
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (member_prefer)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (category_id) — bigint — 외래 키 → Copy Of Untitled.Key — NOT NULL — AUTO_INCREMENT
- Key (member_id) — bigint — 외래 키 → 멤버.Key — NOT NULL — AUTO_INCREMENT
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (review)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (member_id) — bigint — 외래 키 → 멤버.Key — NOT NULL — AUTO_INCREMENT
- Key (store_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field (body) — text
- Field (score) — float
Untitled (review_image)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (review_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field (image_url) — text
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (store)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (region_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field (name) — varchar(50) — NOT NULL
- Field (address) — varchar(50)
- Field (score) — float
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (region)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Field (name) — varchat(20) — NOT NULL
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (mission)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (store_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field (reward) — int
- Field (deadline) — datetime
- Field (mission_spec) — text
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
Untitled (member_mission)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Key (mission_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Key (member_id) — bigint — 외래 키 → 멤버.Key — NOT NULL — AUTO_INCREMENT
- Key (store_id) — bigint — 외래 키 → Untitled.Key — NOT NULL — AUTO_INCREMENT
- Field
멤버 (member)
- Key (id) — bigint — 기본 키 — NOT NULL — AUTO_INCREMENT
- Field (name) — varchar(20) — NOT NULL
- Field (gender) — varchar(10) — NOT NULL
- Field (age) — int — NOT NULL
- Field (address) — varchar(40) — NOT NULL
- Field (spec_address) — varchar(40) — NOT NULL
- Field (status) — varchar(15) — NOT NULL
- Field (inactive_date) — datetime
- Field (created_at) — datetime(6) — NOT NULL
- Field (updated_at) — datetime(6)
- Field (email) — varchar(50) — NOT NULL
- Field (point) — int — NOT NULL