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
e757c447
Commit
e757c447
authored
Jan 05, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add jobs_cache_index to project table
parent
ca962e51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
db/migrate/20171222183504_add_jobs_cache_index_to_project.rb
db/migrate/20171222183504_add_jobs_cache_index_to_project.rb
+15
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20171222183504_add_jobs_cache_index_to_project.rb
0 → 100644
View file @
e757c447
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
AddJobsCacheIndexToProject
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
# Set this constant to true if this migration requires downtime.
DOWNTIME
=
false
disable_ddl_transaction!
def
change
add_column
:projects
,
:jobs_cache_index
,
:integer
end
end
db/schema.rb
View file @
e757c447
...
...
@@ -1872,6 +1872,7 @@ ActiveRecord::Schema.define(version: 20171229225929) do
t
.
boolean
"remote_mirror_available_overridden"
t
.
boolean
"only_mirror_protected_branches"
t
.
boolean
"pull_mirror_available_overridden"
t
.
integer
"jobs_cache_index"
end
add_index
"projects"
,
[
"ci_id"
],
name:
"index_projects_on_ci_id"
,
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