discourse/app/jobs/scheduled/drop_backup_schema.rb

Failed to ignore revisions in .git-blame-ignore-revs.

12 lines
199 B
Ruby
Raw 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