Retrospring/db/migrate/20201001172537_add_otp_secr...

9 lines
232 B
Ruby

# frozen_string_literal: true
class AddOtpSecretKeyToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :otp_secret_key, :string
add_column :users, :otp_module, :integer, default: 0, null: false
end
end