DEV: Drop `show_filter_by_tag` site settings.

Follow-up to 83519e7f3a
This commit is contained in:
Alan Guo Xiang Tan 2021-03-11 10:23:39 +08:00
parent 0cd4da51c7
commit 839caa274a
1 changed files with 14 additions and 0 deletions

View File

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