|
|
@ -1,5 +1,5 @@ |
|
|
|
class TwoFactorAuthenticationAddTo<%= table_name.camelize %> < ActiveRecord::Migration |
|
|
|
class TwoFactorAuthenticationAddTo<%= table_name.camelize %> < ActiveRecord::Migration |
|
|
|
def self.change |
|
|
|
def change |
|
|
|
change_table :<%= table_name %> do |t| |
|
|
|
change_table :<%= table_name %> do |t| |
|
|
|
t.string :second_factor_pass_code , :limit => 32 |
|
|
|
t.string :second_factor_pass_code , :limit => 32 |
|
|
|
t.integer :second_factor_attempts_count, :default => 0 |
|
|
|
t.integer :second_factor_attempts_count, :default => 0 |
|
|
|