mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-30 18:08:34 +08:00
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.
10 lines
258 B
Ruby
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
|