Skip to content

Commit

Permalink
Add visa_sponsorship_application_deadline_at to course model
Browse files Browse the repository at this point in the history
  • Loading branch information
elceebee committed Mar 6, 2025
1 parent 2f96595 commit 8530fda
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ shared:
- fee_international
- fee_domestic
- salary_details
- visa_sponsorship_application_deadline_at
emails:
- application_form_id
- created_at
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddVisaSponsorshipApplicationDeadlineAtToCourse < ActiveRecord::Migration[8.0]
def change
add_column :courses, :visa_sponsorship_application_deadline_at, :datetime
end
end
5 changes: 3 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[8.0].define(version: 2025_02_28_144222) do
ActiveRecord::Schema[8.0].define(version: 2025_03_06_135056) do
create_sequence "qualifications_public_id_seq", start: 120000

# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
enable_extension "pgcrypto"
enable_extension "plpgsql"
enable_extension "unaccent"

create_table "account_recovery_request_codes", force: :cascade do |t|
Expand Down Expand Up @@ -497,6 +497,7 @@
t.boolean "can_sponsor_skilled_worker_visa"
t.boolean "can_sponsor_student_visa"
t.integer "application_status", default: 0, null: false
t.datetime "visa_sponsorship_application_deadline_at"
t.index ["applications_open_from"], name: "index_courses_on_applications_open_from"
t.index ["code"], name: "index_courses_on_code"
t.index ["provider_id"], name: "index_courses_on_provider_id"
Expand Down
Binary file modified docs/domain-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8530fda

Please sign in to comment.