From 1b3b7a819292aba276afbe9715be06298c626dd6 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Tue, 9 Jul 2024 14:51:14 +0100 Subject: [PATCH] Journey config for GetATeacherRelocationPayment Adds a data migration to create the GetATeacherRelocationPayment journey configuration on produciton. --- db/data/20240709134609_add_irp_journey_configuration.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/data/20240709134609_add_irp_journey_configuration.rb diff --git a/db/data/20240709134609_add_irp_journey_configuration.rb b/db/data/20240709134609_add_irp_journey_configuration.rb new file mode 100644 index 0000000000..4de8023067 --- /dev/null +++ b/db/data/20240709134609_add_irp_journey_configuration.rb @@ -0,0 +1,6 @@ +# Run me with `rails runner db/data/20240709134609_add_irp_journey_configuration.rb` + +Journeys::Configuration.create!( + routing_name: Journeys::GetATeacherRelocationPayment::ROUTING_NAME, + current_academic_year: AcademicYear.current +)