MyCommunity
Tables (3)
Comment (CopyOfUntitled2)
- id (PK) — NOT NULL — Primary key — NOT NULL
- 게시글 ID (post_id(FK)) — NOT NULL — Foreign key → Post.id — NOT NULL
- 작성자 ID (member_id(FK)) — NOT NULL — Foreign key → Member.id — NOT NULL
- 댓글 ID (comment_id) — NULLABLE
- 내용 (content) — NOT NULL
- 작성 시간 (created_at) — NOT NULL
- 업데이트 시간 (updated_at) — NOT NULL
Member (Untitled)
- id (PK) — NOT NULL — Primary key — NOT NULL
- 유저 ID (username) — NOT NULL
- 비밀번호 (password) — NOT NULL
Post (Untitled2)
- id (PK) — NOT NULL — Primary key — NOT NULL
- 멤버 ID (member_id(FK)) — NOT NULL — Foreign key → Member.id — NOT NULL
- 제목 (titlle) — NOT NULL
- 내용 (content) — NOT NULL
- 작성 시간 (created_at) — NOT NULL
- 업데이트 시간 (updated_at) — NOT NULL