mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 14:07:35 +08:00
This commit removes the enable_experimental_backup_uploader site setting and the flags in backups-index.hbs to make the uppy backup uploader the main one from now on. A follow-up commit will delete the old backup uploader code and also remove resumable.js from the project.
14 lines
307 B
Ruby
14 lines
307 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveExperimentalBackupUploaderSetting < ActiveRecord::Migration[6.1]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'enable_experimental_backup_uploader'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|