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
b35e6517
Commit
b35e6517
authored
Jan 25, 2022
by
Adam Hegyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove GL.com check
parent
3383b327
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
db/post_migrate/20220124214131_remove_projects_ci_refs_project_id_fk.rb
...e/20220124214131_remove_projects_ci_refs_project_id_fk.rb
+0
-1
No files found.
db/post_migrate/20220124214131_remove_projects_ci_refs_project_id_fk.rb
View file @
b35e6517
...
...
@@ -4,7 +4,6 @@ class RemoveProjectsCiRefsProjectIdFk < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def
up
return
if
Gitlab
.
com?
# unsafe migration, skip on GitLab.com due to https://gitlab.com/groups/gitlab-org/-/epics/7249#note_819625526
return
unless
foreign_key_exists?
(
:ci_refs
,
:projects
,
name:
"fk_rails_4249db8cc3"
)
with_lock_retries
do
...
...
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