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
fb0dec4e
Commit
fb0dec4e
authored
Feb 19, 2018
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new column to ci_runners table
parent
cb94afc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
db/migrate/20180219153455_add_job_upper_timeout_to_ci_runners.rb
...ate/20180219153455_add_job_upper_timeout_to_ci_runners.rb
+13
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20180219153455_add_job_upper_timeout_to_ci_runners.rb
0 → 100644
View file @
fb0dec4e
class
AddJobUpperTimeoutToCiRunners
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
up
add_column
:ci_runners
,
:job_upper_timeout
,
:integer
end
def
down
remove_column
:ci_runners
,
:job_upper_timeout
end
end
db/schema.rb
View file @
fb0dec4e
...
...
@@ -459,6 +459,7 @@ ActiveRecord::Schema.define(version: 20180327101207) do
t
.
boolean
"locked"
,
default:
false
,
null:
false
t
.
integer
"access_level"
,
default:
0
,
null:
false
t
.
string
"ip_address"
t
.
integer
"job_upper_timeout"
end
add_index
"ci_runners"
,
[
"contacted_at"
],
name:
"index_ci_runners_on_contacted_at"
,
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