|
|
@ -6,7 +6,7 @@ module ActiveRecord |
|
|
|
source_root File.expand_path("../templates", __FILE__) |
|
|
|
source_root File.expand_path("../templates", __FILE__) |
|
|
|
|
|
|
|
|
|
|
|
def copy_two_factor_authentication_migration |
|
|
|
def copy_two_factor_authentication_migration |
|
|
|
migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}" |
|
|
|
migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}.rb" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|