UMC_WEEK1
Tables (10)
food (Untitled)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
member
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
- gender (Field2) — varchar(10)
- point (Field10) — int
- address (Field3) — varchar(80)
- email (Field4) — varchar(50)
- cleared_mission (Field9) — int
- status (Field7) — boolean
- inactive_date (Field8) — datetime
- social_type (Field11) — varchar(10)
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
member_agree (Untitled5)
- id (Key) — bigint — Primary key — NOT NULL
- terms_id (Key3) — bigint — Foreign key → terms.id — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- created_at (Field) — datetime(6)
- updated_at (Field2) — datetime(6)
member_favorite (Untitled7)
- id (Key) — bigint — Primary key — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- food_id (Key3) — bigint — Foreign key → food.id — NOT NULL
member_mission (Untitled6)
- 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
mission (Untitled2)
- id (Key) — bigint — Primary key — NOT NULL
- store_id (Key2) — bigint — Foreign key → store.Key — NOT NULL
- deadline (Field) — datetime
- body (Field2) — text
- reward (Field3) — int
- created_at (Field4) — datetime(6)
- updated_at (Field5) — datetime(6)
region (Untitled9)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
review (Untitled3)
- id (Key) — bigint — Primary key — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- store_id (Key3) — bigint — Foreign key → store.Key — NOT NULL
- title (Field) — varchar(40)
- body (Field2) — text
- score (Field3) — float
- created_at (Field4) — datetime(6)
- updated_at (Field5) — datetime(6)
store (Untitled4)
- Key — bigint — Primary key — NOT NULL
- region_id (Key2) — bigint — Foreign key → region.id — NOT NULL
- name (Field) — varchar(30)
- address (Field2) — varchar(80)
- score (Field3) — float
terms (Untitled8)
- id (Key) — bigint — Primary key — NOT NULL
- title (Field) — varchar(20)
- body (Field2) — text
- optional (Field3) — boolean
- created_at (Field4) — datetime(6)
- updated_at (Field5) — datetime(6)