-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop proofing_components table (#11711)
* Drop proofing_components table Since #11564 we've stopped writing to this table, so now is the time to drop it. This table was previously used as a temporary datastore for proofing component values as a user moves through IdV. We now dynamically derive those values from the Idv::Session, so this table is not needed any longer. [skip changelog] * Update db/primary_migrate/20250106232958_drop_proofing_components_table.rb Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com> --------- Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
- Loading branch information
1 parent
a46faf6
commit 7b06970
Showing
2 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
db/primary_migrate/20250106232958_drop_proofing_components_table.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
class DropProofingComponentsTable < ActiveRecord::Migration[7.2] | ||
def change | ||
drop_table :proofing_components do |t| | ||
t.integer "user_id", null: false, comment: "sensitive=false" | ||
t.string "document_check", comment: "sensitive=false" | ||
t.string "document_type", comment: "sensitive=false" | ||
t.string "source_check", comment: "sensitive=false" | ||
t.string "resolution_check", comment: "sensitive=false" | ||
t.string "address_check", comment: "sensitive=false" | ||
t.datetime "verified_at", precision: nil, comment: "sensitive=false" | ||
t.datetime "created_at", precision: nil, null: false, comment: "sensitive=false" | ||
t.datetime "updated_at", precision: nil, null: false, comment: "sensitive=false" | ||
t.string "liveness_check", comment: "sensitive=false" | ||
t.string "device_fingerprinting_vendor", comment: "sensitive=false" | ||
t.boolean "threatmetrix", comment: "sensitive=false" | ||
t.string "threatmetrix_review_status", comment: "sensitive=false" | ||
t.string "threatmetrix_risk_rating", comment: "sensitive=false" | ||
t.string "threatmetrix_policy_score", comment: "sensitive=false" | ||
t.index ["user_id"], name: "index_proofing_components_on_user_id", unique: true | ||
t.index ["verified_at"], name: "index_proofing_components_on_verified_at" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters