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:
Diffstat (limited to 'db/migrate/20200510181937_add_web_authn_xid_to_user_details.rb')
-rw-r--r--db/migrate/20200510181937_add_web_authn_xid_to_user_details.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20200510181937_add_web_authn_xid_to_user_details.rb b/db/migrate/20200510181937_add_web_authn_xid_to_user_details.rb
new file mode 100644
index 00000000000..d41e6611c45
--- /dev/null
+++ b/db/migrate/20200510181937_add_web_authn_xid_to_user_details.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class AddWebAuthnXidToUserDetails < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ # rubocop:disable Migration/AddLimitToTextColumns
+ # limit is added in subsequent migration
+ def change
+ add_column :user_details, :webauthn_xid, :text
+ end
+ # rubocop:enable Migration/AddLimitToTextColumns
+end