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:
parent
557add5923
commit
a263743268
2 changed files with 11 additions and 6 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue