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.39 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.38 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.37 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.36 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.35 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.34 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.33 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.32 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.31 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.30 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.29 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.28 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.27 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.26 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.25 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.24 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.23 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.22 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.21 db/migrate/20200727171308_add_devise_two_factor_to_users.rb
bullet_train-1.0.20 db/migrate/20200727171308_add_devise_two_factor_to_users.rb