ERD1
Tables (4)
Comment (Untitled)
- id (Comment_id) — Primary key — NOT NULL
- content (Field)
- id (Key2) — Foreign key → Member.id — NOT NULL
- id (post_id) — Foreign key → Post.id — NOT NULL
Member (Untitled4)
- id (Member_id) — Primary key — NOT NULL
- name (Field)
- email (Field2)
Post (Untitled3)
- id (post_id) — Primary key — NOT NULL
- content (Field)
- title (Field2)
- create_at (Field3)
- id (Key) — Foreign key → Member.id — NOT NULL
UserPost (Untitled2)
- Key — Primary key — NOT NULL
- id (Member_id) — Foreign key → Member.id — NOT NULL
- id (post_id) — Foreign key → Post.id — NOT NULL