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/20201120144823_create_tokens_with_iv.rb')
-rw-r--r--db/migrate/20201120144823_create_tokens_with_iv.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20201120144823_create_tokens_with_iv.rb b/db/migrate/20201120144823_create_tokens_with_iv.rb
deleted file mode 100644
index f8dc75513fb..00000000000
--- a/db/migrate/20201120144823_create_tokens_with_iv.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateTokensWithIv < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def change
- create_table :token_with_ivs do |t|
- t.binary :hashed_token, null: false
- t.binary :hashed_plaintext_token, null: false
- t.binary :iv, null: false
-
- t.index :hashed_token, name: 'index_token_with_ivs_on_hashed_token', unique: true, using: :btree
- t.index :hashed_plaintext_token, name: 'index_token_with_ivs_on_hashed_plaintext_token', unique: true, using: :btree
- end
- end
-end