blob: 787c63929292f677819f947955c0226f353379c3 (
plain) (
blame)
1
2
3
4
5
6
|
class SetStatusTextBoolForExistingFilters < ActiveRecord::Migration[5.2]
def up
CustomFilter.where(status_text: false).in_batches.update_all(status_text: true)
CustomFilter.where(spoiler_text: false).in_batches.update_all(spoiler_text: true)
end
end
|