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
2d9359d3
Commit
2d9359d3
authored
Sep 27, 2019
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore id column of ci_build_trace_sections table
This is a preparation to drop the column
parent
89d1e617
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
app/models/ci/build_trace_section.rb
app/models/ci/build_trace_section.rb
+3
-0
changelogs/unreleased/ignore-id-column-ci_build_trace_sections.yml
...s/unreleased/ignore-id-column-ci_build_trace_sections.yml
+5
-0
No files found.
app/models/ci/build_trace_section.rb
View file @
2d9359d3
...
...
@@ -4,6 +4,9 @@ module Ci
class
BuildTraceSection
<
ApplicationRecord
extend
Gitlab
::
Ci
::
Model
# Only remove > 2019-11-22 and > 12.5
self
.
ignored_columns
+=
%i[id]
belongs_to
:build
,
class_name:
'Ci::Build'
belongs_to
:project
belongs_to
:section_name
,
class_name:
'Ci::BuildTraceSectionName'
...
...
changelogs/unreleased/ignore-id-column-ci_build_trace_sections.yml
0 → 100644
View file @
2d9359d3
---
title
:
Ignore id column of ci_build_trace_sections table
merge_request
:
17805
author
:
type
:
change
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