Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
0940d948a725
Commit
aa155ad8
authored
Dec 04, 2018
by
🤖 GitLab Bot 🤖
Browse files
Revert "Remove runner token indices from db schema as well"
This reverts commit c3d0f1294c237853b9d5a3b13f3ea7a2abb84eb4
parent
029fbbd9fd1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/schema.rb
View file @
0940d948
...
@@ -527,6 +527,7 @@
...
@@ -527,6 +527,7 @@
t
.
index
[
"locked"
],
name:
"index_ci_runners_on_locked"
,
using: :btree
t
.
index
[
"locked"
],
name:
"index_ci_runners_on_locked"
,
using: :btree
t
.
index
[
"runner_type"
],
name:
"index_ci_runners_on_runner_type"
,
using: :btree
t
.
index
[
"runner_type"
],
name:
"index_ci_runners_on_runner_type"
,
using: :btree
t
.
index
[
"token"
],
name:
"index_ci_runners_on_token"
,
using: :btree
t
.
index
[
"token"
],
name:
"index_ci_runners_on_token"
,
using: :btree
t
.
index
[
"token_encrypted"
],
name:
"index_ci_runners_on_token_encrypted"
,
unique:
true
,
using: :btree
end
end
create_table
"ci_stages"
,
force: :cascade
do
|
t
|
create_table
"ci_stages"
,
force: :cascade
do
|
t
|
...
@@ -1347,6 +1348,7 @@
...
@@ -1347,6 +1348,7 @@
t
.
index
[
"path"
],
name:
"index_namespaces_on_path_trigram"
,
using: :gin
,
opclasses:
{
"path"
=>
"gin_trgm_ops"
}
t
.
index
[
"path"
],
name:
"index_namespaces_on_path_trigram"
,
using: :gin
,
opclasses:
{
"path"
=>
"gin_trgm_ops"
}
t
.
index
[
"require_two_factor_authentication"
],
name:
"index_namespaces_on_require_two_factor_authentication"
,
using: :btree
t
.
index
[
"require_two_factor_authentication"
],
name:
"index_namespaces_on_require_two_factor_authentication"
,
using: :btree
t
.
index
[
"runners_token"
],
name:
"index_namespaces_on_runners_token"
,
unique:
true
,
using: :btree
t
.
index
[
"runners_token"
],
name:
"index_namespaces_on_runners_token"
,
unique:
true
,
using: :btree
t
.
index
[
"runners_token_encrypted"
],
name:
"index_namespaces_on_runners_token_encrypted"
,
unique:
true
,
using: :btree
t
.
index
[
"type"
],
name:
"index_namespaces_on_type"
,
using: :btree
t
.
index
[
"type"
],
name:
"index_namespaces_on_type"
,
using: :btree
end
end
...
@@ -1697,6 +1699,7 @@
...
@@ -1697,6 +1699,7 @@
t
.
index
[
"repository_storage"
,
"created_at"
],
name:
"idx_project_repository_check_partial"
,
where:
"(last_repository_check_at IS NULL)"
,
using: :btree
t
.
index
[
"repository_storage"
,
"created_at"
],
name:
"idx_project_repository_check_partial"
,
where:
"(last_repository_check_at IS NULL)"
,
using: :btree
t
.
index
[
"repository_storage"
],
name:
"index_projects_on_repository_storage"
,
using: :btree
t
.
index
[
"repository_storage"
],
name:
"index_projects_on_repository_storage"
,
using: :btree
t
.
index
[
"runners_token"
],
name:
"index_projects_on_runners_token"
,
using: :btree
t
.
index
[
"runners_token"
],
name:
"index_projects_on_runners_token"
,
using: :btree
t
.
index
[
"runners_token_encrypted"
],
name:
"index_projects_on_runners_token_encrypted"
,
unique:
true
,
using: :btree
t
.
index
[
"star_count"
],
name:
"index_projects_on_star_count"
,
using: :btree
t
.
index
[
"star_count"
],
name:
"index_projects_on_star_count"
,
using: :btree
t
.
index
[
"visibility_level"
],
name:
"index_projects_on_visibility_level"
,
using: :btree
t
.
index
[
"visibility_level"
],
name:
"index_projects_on_visibility_level"
,
using: :btree
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