about summary refs log tree commit diff
path: root/db/migrate/20190815232125_add_custom_cws_to_custom_filters.rb
blob: ec201e7b68a8bbef9cc139508ad0a9a71e6aa849 (plain) (blame)
1
2
3
4
5
6
7
8
class AddCustomCwsToCustomFilters < ActiveRecord::Migration[5.2]
  def change
    safety_assured {
      add_column :custom_filters, :custom_cw, :text
      add_column :custom_filters, :override_cw, :boolean, null: false, default: false
    }
  end
end