Skip to content

Commit 1257d60

Browse files
authored
Revert "Allow vaccination record performed at time to be optional (3 of 3)"
1 parent 41243ce commit 1257d60

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

app/models/vaccination_record.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
# fk_rails_... (vaccine_id => vaccines.id)
8080
#
8181
class VaccinationRecord < ApplicationRecord
82+
self.ignored_columns = %w[performed_at]
83+
8284
include BelongsToProgramme
8385
include Confirmable
8486
include Discard::Model

db/migrate/20260123154412_remove_performed_at_from_vaccination_records.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

db/schema.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@
947947
t.integer "outcome", null: false
948948
t.bigint "patient_id", null: false
949949
t.jsonb "pending_changes", default: {}, null: false
950+
t.datetime "performed_at"
950951
t.date "performed_at_date", null: false
951952
t.time "performed_at_time"
952953
t.string "performed_by_family_name"

0 commit comments

Comments
 (0)