mirror of
https://github.com/we-promise/sure.git
synced 2026-06-01 00:39:01 +00:00
* Complete Sophtron account mapping * Clarify Sophtron login challenge flow * Add Sophtron connection UI timeout * Treat Sophtron timeout jobs as failed * Reset failed Sophtron connection state * Handle stale Sophtron connection jobs * Advance Sophtron polling timeout * Shorten Sophtron connection timeout * Fix Sophtron modal polling updates * Stabilize Sophtron MFA polling * Give Sophtron OTP challenges more time * Clarify Sophtron institution login failures * Extend Sophtron polling during login progress * Probe Sophtron accounts after completed MFA step * Align Sophtron dialogs with design system * Start Sophtron initial load after linking accounts * Fix Sophtron initial transaction load * Fail Sophtron sync without institution connection * Fix tests * Wrap Sophtron account linking in transaction * Wrap Sophtron provider responses * Fix Sophtron MFA security tests * Guard Sophtron MFA challenge arrays * Respect Sophtron initial load window * Use unique Sophtron MFA answer field ids * Address Sophtron review follow-ups * Fix Sophtron transaction sync refresh * Avoid blocking Sophtron refresh polling * Move Sophtron account helpers to model * Keep Sophtron grouping provider-level * Start new Sophtron institution links * Isolate Sophtron institution connections --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
21 lines
836 B
Ruby
21 lines
836 B
Ruby
class AddSophtronConnectionState < ActiveRecord::Migration[7.2]
|
|
def change
|
|
change_column_null :sophtron_accounts, :customer_id, true
|
|
change_column_null :sophtron_accounts, :member_id, true
|
|
|
|
add_column :sophtron_accounts, :account_number_mask, :string
|
|
|
|
add_column :sophtron_items, :customer_id, :string
|
|
add_column :sophtron_items, :customer_name, :string
|
|
add_column :sophtron_items, :raw_customer_payload, :jsonb
|
|
add_column :sophtron_items, :user_institution_id, :string
|
|
add_column :sophtron_items, :current_job_id, :string
|
|
add_column :sophtron_items, :job_status, :string
|
|
add_column :sophtron_items, :raw_job_payload, :jsonb
|
|
add_column :sophtron_items, :last_connection_error, :text
|
|
|
|
add_index :sophtron_items, :customer_id
|
|
add_index :sophtron_items, :user_institution_id
|
|
end
|
|
end
|