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
82aa52d4
Commit
82aa52d4
authored
Oct 19, 2021
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for_namespace_monthly_usage for cross-db query
parent
a03f6bef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ee/app/models/ci/minutes/project_monthly_usage.rb
ee/app/models/ci/minutes/project_monthly_usage.rb
+1
-1
spec/support/database/cross-join-allowlist.yml
spec/support/database/cross-join-allowlist.yml
+0
-1
No files found.
ee/app/models/ci/minutes/project_monthly_usage.rb
View file @
82aa52d4
...
@@ -15,7 +15,7 @@ module Ci
...
@@ -15,7 +15,7 @@ module Ci
where
(
where
(
date:
namespace_monthly_usage
.
date
,
date:
namespace_monthly_usage
.
date
,
project:
namespace_monthly_usage
.
namespace
.
projects
project:
namespace_monthly_usage
.
namespace
.
projects
)
)
.
allow_cross_joins_across_databases
(
url:
'https://gitlab.com/gitlab-org/gitlab/-/issues/343301'
)
end
end
def
self
.
beginning_of_month
(
time
=
Time
.
current
)
def
self
.
beginning_of_month
(
time
=
Time
.
current
)
...
...
spec/support/database/cross-join-allowlist.yml
View file @
82aa52d4
-
"
./ee/spec/features/ci/ci_minutes_spec.rb"
-
"
./ee/spec/features/merge_trains/two_merge_requests_on_train_spec.rb"
-
"
./ee/spec/features/merge_trains/two_merge_requests_on_train_spec.rb"
-
"
./ee/spec/features/merge_trains/user_adds_merge_request_to_merge_train_spec.rb"
-
"
./ee/spec/features/merge_trains/user_adds_merge_request_to_merge_train_spec.rb"
-
"
./ee/spec/finders/ee/namespaces/projects_finder_spec.rb"
-
"
./ee/spec/finders/ee/namespaces/projects_finder_spec.rb"
...
...
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