Getting there with Devise MFA
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
class AddDomainIdToVirtuals < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :virtuals, :domain_id, :integer
|
||||
add_column :credentials, :domain_id, :integer
|
||||
add_index :virtuals, :domain_id
|
||||
add_index :credentials, :domain_id
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
class AddDeviseTwoFactorToUsers < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :users, :otp_secret, :string
|
||||
add_column :users, :consumed_timestep, :integer
|
||||
add_column :users, :otp_required_for_login, :boolean
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user