Sha256: f7f5432a5a979de0c9cd8edfafc54b5042846dff05336a2f5866075d0171a4ea

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

class AddEncryptedColumnsToUser < ActiveRecord::Migration[4.2]
  def change
    add_column :users, :encrypted_otp_secret_key, :string
    add_column :users, :encrypted_otp_secret_key_iv, :string
    add_column :users, :encrypted_otp_secret_key_salt, :string

    add_index :users, :encrypted_otp_secret_key, unique: true
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
devise_xfactor_authentication-2.2.23 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_xfactor_authentication-2.2.22 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_xfactor_authentication-2.2.21 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_xfactor_authentication-2.2.20 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_xfactor_authentication-2.2.19 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_xfactor_authentication-2.2.18 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
devise_two_factor_authentication-3.0.0 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb
two_factor_authentication-2.2.0 spec/rails_app/db/migrate/20151224171231_add_encrypted_columns_to_user.rb