summaryrefslogtreecommitdiff
path: root/db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb')
-rw-r--r--db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb b/db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb
new file mode 100644
index 00000000000..db2f411ab92
--- /dev/null
+++ b/db/migrate/20221012033107_add_password_last_changed_at_to_user_details.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddPasswordLastChangedAtToUserDetails < Gitlab::Database::Migration[2.0]
+ enable_lock_retries!
+
+ def change
+ add_column :user_details, :password_last_changed_at, :datetime_with_timezone, comment: 'JiHu-specific column'
+ end
+end