mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 09:54:46 +08:00
DEV: Remove references to categories_only_optimized (#30151)
This category style has been removed in f1700ca5.
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DeleteCategoriesOnlyOptimizedSiteSetting < ActiveRecord::Migration[7.2]
|
||||
def up
|
||||
execute "DELETE FROM site_settings WHERE name = 'desktop_category_page_style' AND value = 'categories_only_optimized'"
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user