diff --git a/app/models/profile.rb b/app/models/profile.rb index 03c97de5f22..45890261a3f 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -1,6 +1,4 @@ class Profile < ApplicationRecord - self.ignored_columns = %w[phone_confirmed] - belongs_to :user # rubocop:disable Rails/InverseOf belongs_to :initiating_service_provider, diff --git a/db/migrate/20230411160948_remove_phone_confirmed_from_profiles.rb b/db/migrate/20230411160948_remove_phone_confirmed_from_profiles.rb new file mode 100644 index 00000000000..334111480e7 --- /dev/null +++ b/db/migrate/20230411160948_remove_phone_confirmed_from_profiles.rb @@ -0,0 +1,5 @@ +class RemovePhoneConfirmedFromProfiles < ActiveRecord::Migration[7.0] + def change + remove_column :profiles, :phone_confirmed, :boolean + end +end diff --git a/db/schema.rb b/db/schema.rb index b7b2962d53f..47f3570025f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -440,7 +440,6 @@ t.string "ssn_signature", limit: 64 t.text "encrypted_pii_recovery" t.integer "deactivation_reason" - t.boolean "phone_confirmed", default: false, null: false t.jsonb "proofing_components" t.string "name_zip_birth_year_signature" t.date "reproof_at"