diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20191118044943_remove_old_filter_columns.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20191118044943_remove_old_filter_columns.rb b/db/migrate/20191118044943_remove_old_filter_columns.rb index 446f45325..b53d2a66a 100644 --- a/db/migrate/20191118044943_remove_old_filter_columns.rb +++ b/db/migrate/20191118044943_remove_old_filter_columns.rb @@ -1,6 +1,6 @@ class RemoveOldFilterColumns < ActiveRecord::Migration[5.2] def up - CustomFilters.find_each do |filter| + CustomFilter.find_each do |filter| filter.update!(phrase: "\"#{filter.phrase}\"") if filter.whole_word end |