DB
Tables (9)
food_category (Untitled3)
- id (Key) — INT — Primary key — NOT NULL
- food_name (Field2) — VARCHAR(20)
- created_at (Field3) — daytime(6)
- updated_at (Field4)
member (Untitled)
- id (Key) — Primary key — NOT NULL
- name (Field) — BIGINT
- gender (Field2) — BOOL
- address (Field3) — STRING
- phone_num (Field4) — VARCAHR(15)
- activateState (Field5) — VARCHAR(20)
- created_at (Field6) — daytime(6)
- updated_at (Field7) — daytime(6)
member_mission (Untitled8)
- id (Key) — int — Primary key — NOT NULL
- mission_id (Key2) — INT — Foreign key → mission.id — NOT NULL
- member_id (Key3) — int — Foreign key → member.id — NOT NULL
- id (Key22) — INT — Foreign key → mission.store_id — NOT NULL
- region_id (Key222) — bigint — Foreign key → mission.region_id — NOT NULL
- status (Field) — varchar(15)
- created_at (Field2) — daytime(6)
- updated_at (Field3)
member_prefer (Untitled4)
- id (Key) — INT — Primary key — NOT NULL
- member_id (Key2) — Foreign key → member.id — NOT NULL
- food_category_id (Key3) — INT — Foreign key → food_category.id — NOT NULL
- created_at (Field) — daytime(6)
- updated_at (Field2)
mission (Untitled2)
- id (Key) — INT — Primary key — NOT NULL
- store_id (Key2) — INT — Foreign key → store.id — NOT NULL
- region_id (Key22) — bigint — Foreign key → store.region_id — NOT NULL
- store_id (Field) — INT
- deadline (Field6)
- reward (Field5) — INT
- createdat (Field3) — daytime
- updateat (Field4) — daytime
region (Untitled9)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(50)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
- Field4
review (Untitled5)
- id (Key) — INT — Primary key — NOT NULL
- member_id (Key4) — INT — Foreign key → store.id — NOT NULL
- store_id (Key2) — INT — Foreign key → member.id — NOT NULL
- id (Key22) — bigint — Foreign key → store.region_id — NOT NULL
- member_id (Field) — INT
- store_id (Field4)
- star (Field2) — VARCHAR(5)
- comment (Field3) — TEXT
review_image (Untitled7)
- id (Key) — INT — Primary key — NOT NULL
- review_id (Key2) — INT — Foreign key → review.id — NOT NULL
- id (Key4) — INT — Foreign key → review.member_id — NOT NULL
- id (Key22) — Foreign key → review.store_id — NOT NULL
- id (Key222) — bigint — Foreign key → review.id — NOT NULL
- image (Field) — MEDIUMBLOB
store (Untitled6)
- id (Key) — INT — Primary key — NOT NULL
- region_id (Key2) — bigint — Foreign key → region.id — NOT NULL
- name (Field) — VARCHAR(20)
- region (Field2) — VARCHAR
- address (Field3) — VARCHAR(20)
- score (Field4) — VARCHAR(15)
- created_at (Field5) — daytime(6)
- updated_at (Field6)