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
da8bd81f
Commit
da8bd81f
authored
7 years ago
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix reverting builds stage ref migration on MySQL
parent
b55aad4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
db/migrate/20170526185602_add_stage_id_to_ci_builds.rb
db/migrate/20170526185602_add_stage_id_to_ci_builds.rb
+1
-1
spec/migrations/migrate_build_stage_reference_spec.rb
spec/migrations/migrate_build_stage_reference_spec.rb
+0
-1
No files found.
db/migrate/20170526185602_add_stage_id_to_ci_builds.rb
View file @
da8bd81f
...
...
@@ -13,8 +13,8 @@ class AddStageIdToCiBuilds < ActiveRecord::Migration
end
def
down
remove_concurrent_index
:ci_builds
,
:stage_id
remove_foreign_key
:ci_builds
,
column: :stage_id
remove_concurrent_index
:ci_builds
,
:stage_id
remove_column
:ci_builds
,
:stage_id
,
:integer
end
...
...
This diff is collapsed.
Click to expand it.
spec/migrations/migrate_build_stage_reference_spec.rb
View file @
da8bd81f
...
...
@@ -16,7 +16,6 @@ describe MigrateBuildStageReference, :migration do
#
projects
.
create!
(
id:
123
,
name:
'gitlab1'
,
path:
'gitlab1'
)
projects
.
create!
(
id:
456
,
name:
'gitlab2'
,
path:
'gitlab2'
)
projects
.
create!
(
id:
798
,
name:
'gitlab3'
,
path:
'gitlab3'
)
# Create CI/CD pipelines
#
...
...
This diff is collapsed.
Click to expand it.
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