discourse/db/migrate/20210302164429_drop_flash_o...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
284 B
Ruby
Raw Normal View History

# 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