2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: Remove old enable_experimental_composer_uploader site setting (#15406)

No longer used, the uppy method is now the default for
composer uploads and the old code is deleted.
This commit is contained in:
Martin Brennan 2021-12-24 14:27:25 +10:00 committed by GitHub
parent 557add5923
commit a263743268
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
class DeleteExperimentalComposerUploadSetting < ActiveRecord::Migration[6.1]
def up
execute "DELETE FROM site_settings WHERE name = 'enable_experimental_composer_uploader'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end