Commit 238a0c06 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'ag-check-with-files-stored-locally' into 'master'

Remove redundant scope `with_files_stored_locally`

See merge request gitlab-org/gitlab!76557
parents 63663227 55e429cb
......@@ -33,7 +33,6 @@ module EE
scope :with_verification_state, ->(state) { joins(:merge_request_diff_detail).where(merge_request_diff_details: { verification_state: verification_state_value(state) }) }
scope :checksummed, -> { joins(:merge_request_diff_detail).where.not(merge_request_diff_details: { verification_checksum: nil } ) }
scope :not_checksummed, -> { joins(:merge_request_diff_detail).where(merge_request_diff_details: { verification_checksum: nil } ) }
scope :with_files_stored_locally, -> { where(klass::STORE_COLUMN => ::ObjectStorage::Store::LOCAL) }
def verification_state_object
merge_request_diff_detail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment