Sha256: 8381d1931852543d7e8f17b678f2ed63bdfb8b3f6128fe51c91422d32a01a2fc

Contents?: true

Size: 365 Bytes

Versions: 240

Compression:

Stored size: 365 Bytes

Contents

class AddDeviseTwoFactorToUsers < ActiveRecord::Migration[6.0]
  def change
    add_column :users, :encrypted_otp_secret, :string
    add_column :users, :encrypted_otp_secret_iv, :string
    add_column :users, :encrypted_otp_secret_salt, :string
    add_column :users, :consumed_timestep, :integer
    add_column :users, :otp_required_for_login, :boolean
  end
end

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
bullet_train-1.0.19 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.18 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.17 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.16 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.15 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.14 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.13 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.12 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.11 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.10 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.9 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.8 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.7 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.6 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.5 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.4 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.3 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.2 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.1 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.0 db/migrate/20200727171308_add_devise_two_factor_to_users.rb