class ImmunisationImport

Schema Information

Table name: immunisation_imports

id                           :bigint           not null, primary key
changed_record_count         :integer
csv_data                     :text
csv_filename                 :text             not null
csv_removed_at               :datetime
exact_duplicate_record_count :integer
ignored_record_count         :integer
new_record_count             :integer
processed_at                 :datetime
rows_count                   :integer
serialized_errors            :jsonb
status                       :integer          default("pending_import"), not null
type                         :integer          not null
created_at                   :datetime         not null
updated_at                   :datetime         not null
team_id                      :bigint           not null
uploaded_by_user_id          :bigint           not null

Indexes

index_immunisation_imports_on_team_id              (team_id)
index_immunisation_imports_on_uploaded_by_user_id  (uploaded_by_user_id)

Foreign Keys

fk_rails_...  (team_id => teams.id)
fk_rails_...  (uploaded_by_user_id => users.id)