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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
677291b6
Commit
677291b6
authored
Sep 25, 2017
by
Alexis Reigel
Committed by
Alexis Reigel
Apr 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add group_runners_enabled to ci_runners
parent
d0842d20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
db/migrate/20170925142221_add_group_runners_enabled_to_projects.rb
...e/20170925142221_add_group_runners_enabled_to_projects.rb
+16
-0
db/schema.rb
db/schema.rb
+2
-0
No files found.
db/migrate/20170925142221_add_group_runners_enabled_to_projects.rb
0 → 100644
View file @
677291b6
class
AddGroupRunnersEnabledToProjects
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
add_column_with_default
:projects
,
:group_runners_enabled
,
:boolean
,
default:
true
add_concurrent_index
:projects
,
:group_runners_enabled
end
def
down
remove_column
:projects
,
:group_runners_enabled
end
end
db/schema.rb
View file @
677291b6
...
...
@@ -1568,12 +1568,14 @@ ActiveRecord::Schema.define(version: 20180418053107) do
t
.
boolean
"merge_requests_rebase_enabled"
,
default:
false
,
null:
false
t
.
integer
"jobs_cache_index"
t
.
boolean
"pages_https_only"
,
default:
true
t
.
boolean
"group_runners_enabled"
,
default:
true
,
null:
false
end
add_index
"projects"
,
[
"ci_id"
],
name:
"index_projects_on_ci_id"
,
using: :btree
add_index
"projects"
,
[
"created_at"
],
name:
"index_projects_on_created_at"
,
using: :btree
add_index
"projects"
,
[
"creator_id"
],
name:
"index_projects_on_creator_id"
,
using: :btree
add_index
"projects"
,
[
"description"
],
name:
"index_projects_on_description_trigram"
,
using: :gin
,
opclasses:
{
"description"
=>
"gin_trgm_ops"
}
add_index
"projects"
,
[
"group_runners_enabled"
],
name:
"index_projects_on_group_runners_enabled"
,
using: :btree
add_index
"projects"
,
[
"id"
],
name:
"index_projects_on_id_partial_for_visibility"
,
unique:
true
,
where:
"(visibility_level = ANY (ARRAY[10, 20]))"
,
using: :btree
add_index
"projects"
,
[
"last_activity_at"
],
name:
"index_projects_on_last_activity_at"
,
using: :btree
add_index
"projects"
,
[
"last_repository_check_failed"
],
name:
"index_projects_on_last_repository_check_failed"
,
using: :btree
...
...
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