Skip to content

Commit

Permalink
LG-13233: add sponsor_id to in_person_enrollments model (18F#10759)
Browse files Browse the repository at this point in the history
* feat: add sponsor_id to in_person_enrollments

* changelog: Upcoming Features, In-person proofing, persist sponsor_id on in_person_enrollments

* feat: add comment for new sponsor_id field
  • Loading branch information
KeithNava authored and brandemix committed Jun 17, 2024
1 parent fdcf620 commit e5c3ffe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddSponsorIdToInPersonEnrollment < ActiveRecord::Migration[7.1]
def change
add_column :in_person_enrollments, :sponsor_id, :string
end
end
3 changes: 2 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.1].define(version: 2024_05_31_175935) do
ActiveRecord::Schema[7.1].define(version: 2024_06_04_173515) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
enable_extension "pg_stat_statements"
Expand Down Expand Up @@ -318,6 +318,7 @@
t.boolean "ready_for_status_check", default: false
t.datetime "notification_sent_at", comment: "The time a notification was sent"
t.datetime "last_batch_claimed_at"
t.string "sponsor_id", comment: "The identification number for USPS to recognize us and our flow (ex: Enhanced IPP)"
t.index ["profile_id"], name: "index_in_person_enrollments_on_profile_id"
t.index ["ready_for_status_check"], name: "index_in_person_enrollments_on_ready_for_status_check", where: "(ready_for_status_check = true)"
t.index ["status_check_attempted_at"], name: "index_in_person_enrollments_on_status_check_attempted_at", where: "(status = 1)"
Expand Down

0 comments on commit e5c3ffe

Please sign in to comment.