Files
discourse/db/migrate/20200714105027_delete_allow_animated_thumbnails_site_setting.rb
T

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

12 lines
277 B
Ruby
Raw Normal View History

2020-10-16 13:41:27 +03:00
# frozen_string_literal: true
class DeleteAllowAnimatedThumbnailsSiteSetting < ActiveRecord::Migration[6.0]
def up
execute "DELETE FROM site_settings WHERE name = 'allow_animated_thumbnails'"
end
def down
raise ActiveRecord::IrreversibleMigration.new
end
end