Re-run Jobs::RecoverPostUploads.

Previously, `UploadRecovery` did not account for uploads which
may be present in links. This meant that attachments were not
recovered.
This commit is contained in:
Guo Xiang Tan 2018-09-19 12:17:01 +08:00
parent bc7f58191e
commit 95293a6997

View File

@ -0,0 +1,9 @@
class RemoveRecoverPostUploadsOnceoffLog < ActiveRecord::Migration[5.2]
def up
DB.exec("DELETE FROM onceoff_logs WHERE job_name = 'RecoverPostUploads'")
end
def down
raise ActiveRecord::IrreversibleMigration
end
end