mirror of
https://github.com/discourse/discourse.git
synced 2025-03-15 05:15:28 +08:00
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:
parent
bc7f58191e
commit
95293a6997
@ -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
|
Loading…
x
Reference in New Issue
Block a user