discourse/db/migrate/20250527101351_remove_max_similar_results_site_setting.rb
David Battersby 009d835095
DEV: remove max similar results site setting (#32936)
We phased out the site setting for `max_similar_results` in #32934 -
this change is a follow up migration to delete the site setting from the
database.
2025-06-04 16:41:03 +10:00

10 lines
258 B
Ruby

# frozen_string_literal: true
class RemoveMaxSimilarResultsSiteSetting < ActiveRecord::Migration[7.2]
def up
execute "DELETE FROM site_settings WHERE name='max_similar_results'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end