Explicit hashed path check for trace, prevents background migration from accessing file_location column that doesn't exist
This commit is contained in:
parent
f6097cbfaa
commit
1792450978
|
@ -87,7 +87,9 @@ module Ci
|
|||
end
|
||||
|
||||
def hashed_path?
|
||||
super || self.try(:file_location).nil?
|
||||
return true if trace? # ArchiveLegacyTraces background migration might not have `file_location` column
|
||||
|
||||
super || self.file_location.nil?
|
||||
end
|
||||
|
||||
def expire_in
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Explicit hashed path check for trace, prevents background migration from accessing
|
||||
file_location column that doesn't exist
|
||||
merge_request: 21533
|
||||
author: Jasper Maes
|
||||
type: other
|
Loading…
Reference in New Issue