Bon Vivant
테이블 (5)
게시물 (tb_post)
- id (post_id) — number — 기본 키 — NOT NULL
- author (post_author) — string — 외래 키 → 유저.Key — NOT NULL
- location (post_location) — string
- Field
게시물 태그 (tb_post_tag)
- id (post_tag_id) — number — 기본 키 — NOT NULL
- id (post_id) — number — 외래 키 → 게시물.id — NOT NULL
- author (post_author) — string — 외래 키 → 게시물.author — NOT NULL
- Field
유저 (tb_user)
- Key — 기본 키 — NOT NULL
- Field
- Field2
음식점 (tb_restaurant)
- id (restaurant_number) — number — 기본 키 — NOT NULL
- id (restaurant_tag_id) — number — 외래 키 → 음식점 태그.id — NOT NULL
- name (restaurant_name) — string
- Field
음식점 태그 (tb_restaurant_tag)
- id (restaurant_tag_id) — number — 기본 키 — NOT NULL
- Field