diff --git a/db/migrate/20210311022303_drop_show_filter_by_tag_site_setting.rb b/db/migrate/20210311022303_drop_show_filter_by_tag_site_setting.rb new file mode 100644 index 00000000000..f3faf3308c6 --- /dev/null +++ b/db/migrate/20210311022303_drop_show_filter_by_tag_site_setting.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +class DropShowFilterByTagSiteSetting < ActiveRecord::Migration[6.0] + def up + execute <<~SQL + DELETE FROM site_settings + WHERE name = 'show_filter_by_tag' + SQL + end + + def down + raise ActiveRecord::IrreversibleMigration + end +end