A platform for community discussion. Free, open, simple.
DEV: remove max similar results site setting (#32936)
David Battersby009d835095b3
diff --git a/db/migrate/20250527101351_remove_max_similar_results_site_setting.rb b/db/migrate/20250527101351_remove_max_similar_results_site_setting.rbnew file mode 100644index 00000000000..62af2b6dce0--- /dev/null+++ b/db/migrate/20250527101351_remove_max_similar_results_site_setting.rb@@ -0,0 +1,10 @@+# 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