mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
15 lines
284 B
Ruby
15 lines
284 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class DropFlashOneboxSiteSetting < ActiveRecord::Migration[6.0]
|
||
|
def up
|
||
|
execute <<~SQL
|
||
|
DELETE FROM site_settings
|
||
|
WHERE name = 'enable_flash_video_onebox'
|
||
|
SQL
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|