discourse/app/jobs/scheduled/drop_backup_schema.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
199 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
module Jobs
class DropBackupSchema < ::Jobs::Scheduled
every 1.day
def execute(_)
BackupRestore::DatabaseRestorer.drop_backup_schema
end
end
end