comento
Tables (7)
answer (답변)
- 답변코드 (answer_id) — INT
- 답변내용 (answer_content) — LONGTEXT — NOT NULL
- 작성날짜 (answer_create_date) — DATETIME
- 채택여부 (answer_selection) — VARCHAR(10)
- 작성자 (user_id) — INT — Foreign key → user.사용자코드 — NOT NULL
- 답변질문코드 (question_id) — INT — Foreign key → question.질문코드 — NOT NULL
question (질문)
- 질문코드 (question_id) — INT — Primary key — NOT NULL
- 질문제목 (question_title) — VARCHAR(45)
- 질문내용 (question_content) — LONGTEXT
- 작성날짜 (question_create_date) — DATETIME
- 작성자 (user_id) — INT — Foreign key → user.사용자코드 — NOT NULL
- 질문타입코드 (question_type_id) — INT — Foreign key → question_type.질문타입코드 — NOT NULL
question_type (질문 타입)
- 질문타입코드 (question_type_id) — INT — Primary key — NOT NULL
- 질문타입명 (question_type_name) — VARCHAR(15)
user (사용자)
- 사용자코드 (user_id) — INT — Primary key — NOT NULL
- 사용자나이 (user_age) — INT
- 무늬/색 코드 (hcp_id) — INT — Foreign key → user_hcp.무늬/색 코드 — NOT NULL
- 사용자타입코드 (user_type_id) — INT — Foreign key → user_type.사용자타입코드 — NOT NULL
- 품종코드 (user_kind_id) — INT — Foreign key → user_kind.품종코드 — NOT NULL
user_hcp (무늬/색)
- 무늬/색 코드 (hcp_id) — INT — Primary key — NOT NULL
- 무늬/색 명 (hcp_name) — VARCHAR(15)
user_kind (품종)
- 품종코드 (user_kind_id) — INT — Primary key — NOT NULL
- 품종명 (user_kind_name) — VARCHAR(15)
user_type (사용자 타입)
- 사용자타입코드 (user_type_id) — INT — Primary key — NOT NULL
- 사용자타입명 (user_type_name) — VARCHAR(10)