discourse/db/migrate/20200714105026_delete_allow...

12 lines
271 B
Ruby

# frozen_string_literal: true
class DeleteAllowAnimatedAvatarsSiteSetting < ActiveRecord::Migration[6.0]
def up
execute "DELETE FROM site_settings WHERE name = 'allow_animated_avatars'"
end
def down
raise ActiveRecord::IrreversibleMigration.new
end
end