Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-09 21:52:46 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-10 00:32:46 +0300
commit0c113c8dcb02e02457473823847b41df4eeedb88 (patch)
treee3a9d8e18981b8b72b09d48f44b1983e4d4704d1 /db/migrate
parent2ad1334d9e0e143eb1cd1694433bfdf29314a65e (diff)
Make otp_backup_codes a text field
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb2
1 files changed, 1 insertions, 1 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
index 2feb49f43f1..913958db7c5 100644
--- a/db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb
+++ b/db/migrate/20150331183602_add_devise_two_factor_backupable_to_users.rb
@@ -1,5 +1,5 @@
class AddDeviseTwoFactorBackupableToUsers < ActiveRecord::Migration
def change
- add_column :users, :otp_backup_codes, :string, array: true
+ add_column :users, :otp_backup_codes, :text
end
end