parent
1bb0d4be58
commit
f2097f2a11
@ -1,7 +0,0 @@
|
||||
class ModifyAttachmentUrlForChallengeAnswer < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
ChallengeChoose.find_each do |cc|
|
||||
cc.update_column(:subject, cc.subject.gsub("(/attachments/download", "(/api/attachments")) if cc.subject.present?
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue