UMC
Tables (6)
mission (Untitled5)
- mission_id (Key) — INT — Primary key — NOT NULL
- restaurant_id (Key2) — INT — Foreign key → restaurant.restaurant_id — NOT NULL
- region_id (Key3) — INT — Foreign key → region.region_id — NOT NULL
- mission_reward_point (Field2) — INT
- mission_content (Field3) — VARCHAR(50)
- mission_deadline (Field4) — DATETIME
- mission_created_at (Field5) — DATETIME(6)
- mission_update_at (Field6) — DATETIME(6)
mission_status (Untitled2)
- mission_status_id (Key) — INT — Primary key — NOT NULL
- id (Key2) — INT — Foreign key → user.id — NOT NULL
- mission_id (Key3) — INT — Foreign key → mission.mission_id — NOT NULL
- mission_status (Field3) — INT
region (Untitled6)
- region_id (Key) — INT — Primary key — NOT NULL
- region_name (Field) — VARCHAR(50)
- region_created_at (Field2) — VARCHAR(50)
- region_updated_at (Field3) — VARCHAR(50)
restaurant (Untitled4)
- restaurant_id (Key) — INT — Primary key — NOT NULL
- region_id (Key2) — INT — Foreign key → region.region_id — NOT NULL
- restaurant_name (Field) — VARCHAR(50)
- restaurant_address (Field3) — VARCHAR(50)
- restaurant_detail_address (Field4) — VARCHAR(50)
- restaurant_type (Field5) — VARCHAR(50)
- restaurant_created_at (Field6) — DATETIME(6)
- restaurant_updated_at (Field7) — DATETIME(6)
review (Untitled3)
- review_id (Key) — INT — Primary key — NOT NULL
- id (Key2) — INT — Foreign key → user.id — NOT NULL
- restaurant_id (Key3) — INT — Foreign key → restaurant.restaurant_id — NOT NULL
- review_star (Field3) — INT
- review_content (Field4) — VARCHAR(50)
- review_created_at (Field5) — DATETIME(6)
user (Untitled)
- id (Key) — INT — Primary key — NOT NULL
- user_id (Field13) — VARCHAR(50)
- user_name (Field) — VARCHAR(50)
- user_password (Field2) — VARCHAR(50)
- user_gender (Field3) — VARCHAR(50)
- user_birth (Field4) — VARCHAR(50)
- user_address (Field5) — VARCHAR(50)
- user_email (Field6) — VARCHAR(50)
- user_nickname (Field7) — VARCHAR(50)
- user_phone (Field8) — VARCHAR(11)
- user_create_at (Field9) — VARCHAR(6)
- user_update_at (Field10) — VARCHAR(6)
- user_status (Field11) — INT
- user_inactive_date (Field12) — DATETIME