Carlos Vilhena
13 years ago
1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||||
|
class TwoFactorAuthenticationAddTo<%= table_name.camelize %> < ActiveRecord::Migration |
||||||
|
def self.change |
||||||
|
change_table :<%= table_name %> do |t| |
||||||
|
t.string :second_factor_pass_code , :limit => 32 |
||||||
|
t.integer :second_factor_attempts_count, :default => 0 |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue