diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-12-03 15:22:24 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-12-03 15:22:24 +0300 |
commit | 143b80bb37d9534ec0b48900d3ab3287c58f68f0 (patch) | |
tree | 827fd6f1192f1167d884b1103d569dd28119cf13 /db | |
parent | bba97f820330b4bbb5996af26b2aa3cae3ffe880 (diff) |
Do not add indices for encrypted tokens in this iteration
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb b/db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb deleted file mode 100644 index a4da24501a3..00000000000 --- a/db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -class AddEncryptedRunnerTokensIndices < ActiveRecord::Migration - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_index :namespaces, :runners_token_encrypted, unique: true - add_concurrent_index :projects, :runners_token_encrypted, unique: true - add_concurrent_index :ci_runners, :token_encrypted, unique: true - end - - def down - remove_concurrent_index :ci_runners, :token_encrypted - remove_concurrent_index :projects, :runners_token_encrypted - remove_concurrent_index :namespaces, :runners_token_encrypted - end -end |