fix name of `spoiler` column in migration
parent
65c42e5398
commit
7cfc0f0dce
|
@ -1,6 +1,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)
|
||||
CustomFilter.where(spoiler: false).in_batches.update_all(spoiler: true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue