Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
143b80bb
Commit
143b80bb
authored
Dec 03, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not add indices for encrypted tokens in this iteration
parent
bba97f82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb
...ate/20181121101802_add_encrypted_runner_tokens_indices.rb
+0
-21
No files found.
db/migrate/20181121101802_add_encrypted_runner_tokens_indices.rb
deleted
100644 → 0
View file @
bba97f82
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment