class HealthQuestion

Schema Information

Table name: health_questions

id                    :bigint           not null, primary key
give_details_hint     :string
hint                  :string
metadata              :jsonb            not null
title                 :string           not null
would_require_triage  :boolean          default(TRUE), not null
created_at            :datetime         not null
updated_at            :datetime         not null
follow_up_question_id :bigint
next_question_id      :bigint
vaccine_id            :bigint           not null

Indexes

index_health_questions_on_follow_up_question_id  (follow_up_question_id)
index_health_questions_on_next_question_id       (next_question_id)
index_health_questions_on_vaccine_id             (vaccine_id)

Foreign Keys

fk_rails_...  (follow_up_question_id => health_questions.id)
fk_rails_...  (next_question_id => health_questions.id)
fk_rails_...  (vaccine_id => vaccines.id)