fix name of `spoiler` column in migration

staging
multiple creatures 2019-08-02 02:32:22 -05:00
parent 65c42e5398
commit 7cfc0f0dce
1 changed files with 1 additions and 1 deletions

View File

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