Skip to content

Commit

Permalink
rebase schema and moved migrations forward again
Browse files Browse the repository at this point in the history
  • Loading branch information
starswan committed Jan 14, 2025
1 parent 7185663 commit 39e04e6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
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_131902) 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 @@ -248,6 +248,18 @@
t.boolean "training_and_cpds_section_completed"
t.integer "imported_steps", default: [], null: false, array: true
t.datetime "interviewing_at"
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 @@ -687,6 +699,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
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@
end

it "gets their access to a Jobseeker Profile logged" do
allow(Rails.logger).to receive(:info).with(anything)
expect(Rails.logger).to receive(:info)
.with("[Service Data] #{support_user.email} accessed Profile ID #{jobseeker_profile.id} at #{Time.current}")
freeze_time do
allow(Rails.logger).to receive(:info).with(anything)
expect(Rails.logger).to receive(:info)
.with("[Service Data] #{support_user.email} accessed Profile ID #{jobseeker_profile.id} at #{Time.current}")

get support_users_service_data_jobseeker_profile_path(jobseeker_profile)
get support_users_service_data_jobseeker_profile_path(jobseeker_profile)
end
end
end

Expand Down

0 comments on commit 39e04e6

Please sign in to comment.