diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-24 00:02:52 -0200 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-24 19:01:30 -0200 |
commit | 31fb2b7702345fbf597c2cb17466567776433a56 (patch) | |
tree | c00ab27dc891b6ed2ce6b061c58f2fa6913edf15 /db/migrate/20151221234414_add_tfa_additional_fields.rb | |
parent | 33964469b38e2b36b200b20fe3061371a5f5ab18 (diff) | |
download | gitlab-ce-31fb2b7702345fbf597c2cb17466567776433a56.tar.gz |
Grace period support for TFA
Diffstat (limited to 'db/migrate/20151221234414_add_tfa_additional_fields.rb')
-rw-r--r-- | db/migrate/20151221234414_add_tfa_additional_fields.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20151221234414_add_tfa_additional_fields.rb b/db/migrate/20151221234414_add_tfa_additional_fields.rb new file mode 100644 index 00000000000..c16df47932f --- /dev/null +++ b/db/migrate/20151221234414_add_tfa_additional_fields.rb @@ -0,0 +1,7 @@ +class AddTfaAdditionalFields < ActiveRecord::Migration + def change + change_table :users do |t| + t.datetime :otp_grace_period_started_at, null: true + end + end +end |