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
0fa752af
Commit
0fa752af
authored
Jul 31, 2020
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Geo::Fdw::Project model
parent
88b47e7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
ee/app/models/geo/fdw/project.rb
ee/app/models/geo/fdw/project.rb
+0
-26
No files found.
ee/app/models/geo/fdw/project.rb
deleted
100644 → 0
View file @
88b47e7f
# frozen_string_literal: true
module
Geo
module
Fdw
class
Project
<
::
Geo
::
BaseFdw
include
Routable
self
.
primary_key
=
:id
self
.
table_name
=
Gitlab
::
Geo
::
Fdw
.
foreign_table_name
(
'projects'
)
belongs_to
:namespace
,
class_name:
'Geo::Fdw::Namespace'
alias_method
:parent
,
:namespace
class
<<
self
def
within_namespaces
(
namespace_ids
)
where
(
arel_table
.
name
=>
{
namespace_id:
namespace_ids
})
end
def
within_shards
(
shard_names
)
where
(
repository_storage:
Array
(
shard_names
))
end
end
end
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