diff options
Diffstat (limited to 'db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb')
-rw-r--r-- | db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb b/db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb new file mode 100644 index 00000000000..2feb49f43f1 --- /dev/null +++ b/db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb @@ -0,0 +1,5 @@ +class AddDeviseTwoFactorBackupableToUsers < ActiveRecord::Migration + def change + add_column :users, :otp_backup_codes, :string, array: true + end +end |