erd_
Tables (5)
Copy Of Copy Of users (comments)
- Key (comment_id) — BIGINT — Primary key — NOT NULL
- Key (user_id) — BIGINT — Foreign key → users.Key — NOT NULL
- Key (post_id) — BIGINT — Foreign key → Copy Of users.Key — NOT NULL
- Field2 (content) — VARCHAR(50)
- Field (timestamp) — TIMESTAMP
Copy Of users (posts)
- Key (post_id) — BIGINT — Primary key — NOT NULL
- Key (user_id) — BIGINT — Foreign key → users.Key — NOT NULL
- Field (timestamp) — TIMESTAMP
- Field2 (content) — VARCHAR(50)
Untitled (follower_map)
- Key (follower_id) — BIGINT — Primary key — NOT NULL
- Key (user_id) — BIGINT — Foreign key → users.Key — NOT NULL
- Field (target_id) — BIGINT
Untitled (post_likes)
- Key (post_likes_id) — BIGINT — Primary key — NOT NULL
- Field (timestamp) — TIMESTAMP
- Field
users
- Key (user_id) — BIGINT — Primary key — NOT NULL
- Field (email) — VARCHAR(50)
- Field2 (password) — VARCHAR(50)
- Field3 (name) — VARCHAR(50)