Sha256: 8c6261e73f3ca296a84175d6862156a941d2125e7503e02ed1e4aee33afcf1b0

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

class ReconfigureMfaVariableNames < ActiveRecord::Migration[6.1]
  def change
    ## Rename original MFA columns to SMS specific columns
    rename_column :users, :mfa_enabled, :mfa_sms_enabled
    rename_column :users, :last_mfa_login, :last_mfa_sms_login

    # Add new Column for Last time logged in via OTP generated code
    add_column :users, :last_mfa_otp_login, :datetime
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_base-0.82.0 db/migrate/20240825012724_reconfigure_mfa_variable_names.rb
rails_base-0.81.1 db/migrate/20240825012724_reconfigure_mfa_variable_names.rb
rails_base-0.81.0 db/migrate/20240825012724_reconfigure_mfa_variable_names.rb
rails_base-0.80.0 db/migrate/20240825012724_reconfigure_mfa_variable_names.rb