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/20191112212815_create_web_authn_table.rb')
-rw-r--r--db/migrate/20191112212815_create_web_authn_table.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/db/migrate/20191112212815_create_web_authn_table.rb b/db/migrate/20191112212815_create_web_authn_table.rb
deleted file mode 100644
index 72895f955df..00000000000
--- a/db/migrate/20191112212815_create_web_authn_table.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class CreateWebAuthnTable < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- # disable_ddl_transaction!
-
- # rubocop:disable Migration/AddLimitToTextColumns
- # limits are added in subsequent migration
- def change
- create_table :webauthn_registrations do |t|
- t.bigint :user_id, null: false, index: true
-
- t.bigint :counter, default: 0, null: false
- t.timestamps_with_timezone
- t.text :credential_xid, null: false, index: { unique: true }
- t.text :name, null: false
- # The length of the public key is determined by the device
- # and not specified. Thus we can't set a limit
- t.text :public_key, null: false # rubocop:disable Migration/AddLimitToTextColumns
- end
- end
- # rubocop:enable Migration/AddLimitToTextColumns
-end