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:
David Taylor 2020-06-01 18:16:00 +01:00
parent 0d6b638dac
commit 7b9d207175
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434

View File

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