survey

테이블 (3)

답변 (tb_response)

  • Key (tb_response_id) — 기본 키 — NOT NULL
  • Field (response) — null
  • Field (ctime) — not null
  • 아이디 (tb_question_id) — 외래 키 → 질문.아이디 — NOT NULL

설문지 (tb_survey)

  • 아이디 (tb_survey_id) — 기본 키 — NOT NULL
  • 타이틀 (title) — not null
  • 내용 (description) — null — NOT NULL
  • Field (create_time) — not null

질문 (tb_question)

  • 아이디 (tb_question_id) — 기본 키 — NOT NULL
  • 타이틀 (q_title) — not null — NOT NULL
  • 내용 (q_desc) — null
  • Field (mendatory) — not null
  • Field (q_order)
  • 아이디 (tb_survey_id) — 외래 키 → 설문지.아이디 — NOT NULL