Skip to content

Commit

Permalink
rebase schema and migration files into 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
starswan committed Jan 17, 2025
1 parent 1601279 commit edc1c59
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/helpers/pdf_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ def add_personal_statement(pdf)
end
end

# rubocop:disable Metrics/MethodLength
def add_references(pdf)
pdf.start_new_page

Expand All @@ -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
Expand Down
15 changes: 14 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit edc1c59

Please sign in to comment.