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
8c3df625
Commit
8c3df625
authored
Aug 20, 2018
by
Andreas Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ce-to-ee merge conflicts for migration.
parent
45fdfaa3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
db/post_migrate/20180723130817_delete_inconsistent_internal_id_records.rb
...20180723130817_delete_inconsistent_internal_id_records.rb
+0
-3
spec/migrations/delete_inconsistent_internal_id_records_spec.rb
...igrations/delete_inconsistent_internal_id_records_spec.rb
+0
-3
No files found.
db/post_migrate/20180723130817_delete_inconsistent_internal_id_records.rb
View file @
8c3df625
...
@@ -20,10 +20,7 @@ class DeleteInconsistentInternalIdRecords < ActiveRecord::Migration
...
@@ -20,10 +20,7 @@ class DeleteInconsistentInternalIdRecords < ActiveRecord::Migration
delete_internal_id_records
(
'milestones'
,
'project_id'
)
delete_internal_id_records
(
'milestones'
,
'project_id'
)
delete_internal_id_records
(
'milestones'
,
'namespace_id'
,
'group_id'
)
delete_internal_id_records
(
'milestones'
,
'namespace_id'
,
'group_id'
)
delete_internal_id_records
(
'ci_pipelines'
,
'project_id'
)
delete_internal_id_records
(
'ci_pipelines'
,
'project_id'
)
<<<<<<<
HEAD
delete_internal_id_records
(
'epics'
,
'namespace_id'
,
'group_id'
)
delete_internal_id_records
(
'epics'
,
'namespace_id'
,
'group_id'
)
=======
>>>>>>>
upstream
/
master
end
end
end
end
...
...
spec/migrations/delete_inconsistent_internal_id_records_spec.rb
View file @
8c3df625
...
@@ -120,7 +120,6 @@ describe DeleteInconsistentInternalIdRecords, :migration do
...
@@ -120,7 +120,6 @@ describe DeleteInconsistentInternalIdRecords, :migration do
expect
{
migrate!
}.
not_to
change
{
internal_id_query
.
call
(
group3
).
size
}
expect
{
migrate!
}.
not_to
change
{
internal_id_query
.
call
(
group3
).
size
}
end
end
end
end
<<<<<<<
HEAD
context
'for milestones (by group)'
do
context
'for milestones (by group)'
do
# epics (by group) is a little different than most of the other models
# epics (by group) is a little different than most of the other models
...
@@ -160,6 +159,4 @@ describe DeleteInconsistentInternalIdRecords, :migration do
...
@@ -160,6 +159,4 @@ describe DeleteInconsistentInternalIdRecords, :migration do
expect
{
migrate!
}.
not_to
change
{
internal_id_query
.
call
(
group3
).
size
}
expect
{
migrate!
}.
not_to
change
{
internal_id_query
.
call
(
group3
).
size
}
end
end
end
end
=======
>>>>>>>
upstream
/
master
end
end
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