diff --git a/db/migrate/20241028110426_back_fill_claims_verified_at.rb b/db/migrate/20241028110426_back_fill_claims_verified_at.rb index 14449ebad2..eac6fccd53 100644 --- a/db/migrate/20241028110426_back_fill_claims_verified_at.rb +++ b/db/migrate/20241028110426_back_fill_claims_verified_at.rb @@ -1,5 +1,7 @@ class BackFillClaimsVerifiedAt < ActiveRecord::Migration[7.0] def change + Claim.reset_column_information + Policies::FurtherEducationPayments::Eligibility .includes(:claim).where.not(verification: {}).find_each do |eligibility| eligibility.claim.update!(verified_at: eligibility.verification["created_at"])