UMC-01-Practice
Tables (7)
choose_favorite_food (Untitled3)
- id (Key) — bigint — Foreign key → favorite_food.id — NOT NULL
- id (Key2) — bigint — Foreign key → member.id — NOT NULL
favorite_food (Untitled2)
- id (Key) — bigint — Primary key — NOT NULL
- name (key) — vachar(15)
member (Untitled)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(10)
- gender (Field2) — varchar(10)
- birth (Field3) — datetime
- address (Field4) — vachar(20)
- point (Field5) — int
- email (Field6) — varchar(20)
- phon_num (Field7) — varchar(20)
- status (Field10) — enum
- updated_at (Field9) — datetime(6)
- created_at (Field8) — date(6)
- inactive_date (Field11) — datetime
member_mission (Untitled5)
- 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_category_id (Key22) — bigint — Foreign key → mission.mission_category_id — NOT NULL
- status (Field) — enum
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
mission (Untitled4)
- id (Key) — bigint — Primary key — NOT NULL
- mission_category_id (Key2) — bigint — Foreign key → mission_category.id — NOT NULL
- name (Field) — varchar(20)
- description (Field2) — text
- created_at (Field3) — datetime(6)
- updated_atd (Field4) — datetime(6)
mission_category (Untitled6)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(10)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
review_mission (Untitled7)
- id (Key3) — bigint — Foreign key → mission.id — NOT NULL
- mission_category_id (Key22) — bigint — Foreign key → mission.mission_category_id — NOT NULL
- id (Key) — bigint — Foreign key → member.id — NOT NULL
- content (Field) — text
- star (Field4) — int
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)