MVP
Tables (10)
agree (Untitled6)
- id (PK) — bigint — Primary key — NOT NULL
- member_id (FK) — bigint — Foreign key → member.id — NOT NULL
- terms_id (FK2) — bigint — Foreign key → terms.id — NOT NULL
- status (Field) — boolean
- created_at (Field3) — datetime(6)
- updated_at (Field4) — datetime(6)
food (Untitled2)
- id (PK) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
member
- id (PK) — bigint — Primary key — NOT NULL
- name (Field2) — varchar(40)
- gender (Field3) — varchar(10)
- birth (Field4) — date
- address (Field5) — varchar(255)
- point (Field) — int
- created_at (Field6) — datetime(6)
- updated_at (Field7) — datetime(6)
- status (Field8) — varchar(15)
- inactive_date (Field9) — datetime
member_food_preferences (Untitled3)
- id (PK) — bigint — Primary key — NOT NULL
- member_id (FK) — bigint — Foreign key → member.id — NOT NULL
- food_id (FK2) — bigint — Foreign key → food.id — NOT NULL
- created_at (Field) — datetime(6)
- updated_at (Field2) — datetime(6)
member_mission (Untitled4)
- id (PK) — bigint — Primary key — NOT NULL
- member_id (FK) — bigint — Foreign key → member.id — NOT NULL
- mission_id (FK2) — bigint — Foreign key → mission.id — NOT NULL
- store_id (FK3) — bigint — Foreign key → mission.store_id — NOT NULL
- status (Field) — int
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
mission (Untitled)
- id (PK) — bigint — Primary key — NOT NULL
- store_id (FK) — bigint — Foreign key → store.id — NOT NULL
- content (Field3) — text
- point (Field) — int
- created_at (Field2) — datetime(6)
- updated_at (Field4)
review (Untitled8)
- id (Key) — bigint — Primary key — NOT NULL
- member_id (fk) — bigint — Foreign key → member.id — NOT NULL
- store_id (fk2) — bigint — Foreign key → store.id — NOT NULL
- title (Field5) — varchar(40)
- body (Field3) — text
- score (Field4)
- created_at (Field) — datetime(6)
- updated_at (Field2) — datetime(6)
review_image (Untitled9)
- id (Key) — bigint — Primary key — NOT NULL
- review_id (fk) — bigint — Foreign key → review.id — NOT NULL
- image_url (Field) — text
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
store (Untitled7)
- id (PK) — bigint — Primary key — NOT NULL
- food_id (Fk) — bigint — Foreign key → food.id — NOT NULL
- name (Field) — varchar(40)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
terms (Untitled5)
- id (PK) — bigint — Primary key — NOT NULL
- title (Field) — varchar(20)
- content (Field2) — text
- created_at (Field3) — datetime(6)
- updated_at (Field4) — datetime(6)