mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
bd2ca8d617
This commit promotes all post_deploy migrations which existed in Discourse v3.1.0 (timestamp <= 20230405121454)
12 lines
303 B
Ruby
12 lines
303 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DeleteOldRateLimitSearchAnon < ActiveRecord::Migration[7.0]
|
|
def change
|
|
execute "DELETE FROM site_settings WHERE name in ('rate_limit_search_anon_user', 'rate_limit_search_anon_global')"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|