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
Léo-Paul Géneau
gitlab-ce
Commits
8912e99e
Commit
8912e99e
authored
Sep 29, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add failure_reason column to ci_pipelines
Conflicts: db/schema.rb
parent
f3ec51be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
db/migrate/20170929080234_add_failure_reason_to_pipelines.rb
db/migrate/20170929080234_add_failure_reason_to_pipelines.rb
+9
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20170929080234_add_failure_reason_to_pipelines.rb
0 → 100644
View file @
8912e99e
class
AddFailureReasonToPipelines
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:ci_pipelines
,
:failure_reason
,
:integer
end
end
db/schema.rb
View file @
8912e99e
...
@@ -342,6 +342,7 @@ ActiveRecord::Schema.define(version: 20171004121444) do
...
@@ -342,6 +342,7 @@ ActiveRecord::Schema.define(version: 20171004121444) do
t
.
integer
"source"
t
.
integer
"source"
t
.
integer
"config_source"
t
.
integer
"config_source"
t
.
boolean
"protected"
t
.
boolean
"protected"
t
.
integer
"failure_reason"
end
end
add_index
"ci_pipelines"
,
[
"auto_canceled_by_id"
],
name:
"index_ci_pipelines_on_auto_canceled_by_id"
,
using: :btree
add_index
"ci_pipelines"
,
[
"auto_canceled_by_id"
],
name:
"index_ci_pipelines_on_auto_canceled_by_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