DEV: Remove references to categories_only_optimized (#30151)

This category style has been removed in f1700ca5.
This commit is contained in:
Bianca Nenciu 2024-12-06 17:39:22 +02:00 committed by GitHub
parent 35ecd0335c
commit 2defab25b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -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