mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:42:45 +08:00
DEV: Restore default_list_filter column migration
This migration was added to master temporarily, then removed. This resulted in some sites being in an inconsistent state. Adding the migration back for now. If we decide the column is unneeded, then we should add a second migration to remove the column.
This reverts part of commit e1af91f5ae
.
This commit is contained in:
parent
0d6b638dac
commit
7b9d207175
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddDefaultListFilterToCategories < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :categories, :default_list_filter, :string, limit: 20, default: 'all'
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user