umc
Tables (8)
member
- id (Key) — bigint — Primary key — NOT NULL
- name (Field4) — varchar(20)
- gender (Field) — varchar(20)
- birtih (Field2) — varchar(20)
- email (Field10) — varchar(20)
- address (Field5) — varchar(30)
- point (Field7) — int
- created_at (Field8) — datetime(6)
- updated_at (Field9) — datetime(6)
- status (Field3) — varchar(15)
- inactive_date (Field6) — datetime
- phone_number (Field11) — varchar(20)
member_mission (CopyOfmission)
- id (Key) — bigint — Primary key — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- mission_id (Key3) — bigint — Foreign key → mission.id — NOT NULL
- created_at (Field6) — datetime(6)
- updated_at (Field7) — datetime(6)
- status (Field) — varchar(20)
member_prefer (CopyOffood_prefer)
- id (Key) — bigint — Primary key — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- prefer_id (Key3) — bigint — Foreign key → prefer_food.id — NOT NULL
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
mission
- id (Key) — bigint — Primary key — NOT NULL
- store_id (Key2) — bigint — Foreign key → store.id — NOT NULL
- name (Field4) — varchar(20)
- created_at (Field6) — datetime(6)
- updated_at (Field7) — datetime(6)
- point (Field) — bigint
- deadline (Field2) — varchar(20)
prefer_food (food_prefer)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field4) — varchar(20)
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
review
- id (Key) — bigint — Primary key — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- store_id (Key3) — bigint — Foreign key → store.id — NOT NULL
- score (Field4) — float
- body (Field) — text
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
review_image (CopyOffood_prefer2)
- id (Key) — bigint — Primary key — NOT NULL
- review_id (Key2) — bigint — Foreign key → review.id — NOT NULL
- image_url (Field4) — text
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
store
- id (Key) — bigint — Primary key — NOT NULL
- name (Field4) — varchar(20)
- region (?!?!?!?) — varchar(20)
- address (Field5) — varchar(20)
- score (Field2) — float
- created_at (Field6) — datetime(6)
- updated_at (Field7) — datetime(6)