diff --git a/app/helpers/pdf_helper.rb b/app/helpers/pdf_helper.rb index fd3251df2a..d0aa064606 100644 --- a/app/helpers/pdf_helper.rb +++ b/app/helpers/pdf_helper.rb @@ -178,7 +178,6 @@ def add_personal_statement(pdf) end end - # rubocop:disable Metrics/MethodLength def add_references(pdf) pdf.start_new_page @@ -205,7 +204,6 @@ def add_references(pdf) end end end - # rubocop:enable Metrics/MethodLength def add_ask_for_support(pdf) pdf.start_new_page diff --git a/db/migrate/20241113154606_add_religion_type_to_vacancy.rb b/db/migrate/20250113154606_add_religion_type_to_vacancy.rb similarity index 100% rename from db/migrate/20241113154606_add_religion_type_to_vacancy.rb rename to db/migrate/20250113154606_add_religion_type_to_vacancy.rb diff --git a/db/migrate/20241114134844_add_following_religion_to_job_application.rb b/db/migrate/20250114034844_add_following_religion_to_job_application.rb similarity index 100% rename from db/migrate/20241114134844_add_following_religion_to_job_application.rb rename to db/migrate/20250114034844_add_following_religion_to_job_application.rb diff --git a/db/migrate/20241114162136_add_ethos_and_aims_to_job_application.rb b/db/migrate/20250114062136_add_ethos_and_aims_to_job_application.rb similarity index 100% rename from db/migrate/20241114162136_add_ethos_and_aims_to_job_application.rb rename to db/migrate/20250114062136_add_ethos_and_aims_to_job_application.rb diff --git a/db/schema.rb b/db/schema.rb index 36d7384f0d..14614b7a4f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.2].define(version: 2025_01_13_144018) do +ActiveRecord::Schema[7.2].define(version: 2025_01_14_062136) do # These are extensions that must be enabled in order to support this database enable_extension "btree_gist" enable_extension "citext" @@ -249,6 +249,18 @@ t.integer "imported_steps", default: [], null: false, array: true t.datetime "interviewing_at" t.string "statutory_induction_complete_details" + t.boolean "following_religion" + t.integer "religious_reference_type" + t.string "faith_ciphertext" + t.string "place_of_worship_ciphertext" + t.string "religious_referee_name_ciphertext" + t.string "religious_referee_address_ciphertext" + t.string "religious_referee_role_ciphertext" + t.string "religious_referee_email_ciphertext" + t.string "religious_referee_phone_ciphertext" + t.string "baptism_address_ciphertext" + t.string "baptism_date_ciphertext" + t.string "ethos_and_aims_ciphertext" t.index ["jobseeker_id"], name: "index_job_applications_jobseeker_id" t.index ["vacancy_id"], name: "index_job_applications_on_vacancy_id" end @@ -690,6 +702,7 @@ t.string "flexi_working" t.integer "extension_reason" t.string "other_extension_reason_details" + t.integer "religion_type" t.index ["expires_at"], name: "index_vacancies_on_expires_at" t.index ["external_source", "external_reference"], name: "index_vacancies_on_external_source_and_external_reference" t.index ["geolocation", "expires_at", "publish_on"], name: "index_vacancies_on_geolocation_and_expires_at_and_publish_on", using: :gist