2023-10-19 16:37:34 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-10-18 01:39:46 -07:00
|
|
|
class AddOtpSecretKeyToUsers < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
add_column :users, :otp_secret_key, :string
|
2020-10-18 10:48:12 -07:00
|
|
|
add_column :users, :otp_module, :integer, default: 0, null: false
|
2020-10-18 01:39:46 -07:00
|
|
|
end
|
|
|
|
end
|