diff --git a/db/migrate/20241206121401_delete_categories_only_optimized_site_setting.rb b/db/migrate/20241206121401_delete_categories_only_optimized_site_setting.rb new file mode 100644 index 00000000000..db1f2b6a81b --- /dev/null +++ b/db/migrate/20241206121401_delete_categories_only_optimized_site_setting.rb @@ -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