• Yorick Peterse's avatar
    Fix update_column_in_batches to update all rows · c1e756c2
    Yorick Peterse authored
    This changes update_column_in_batches to ensure it always updates all
    rows now. These changes also allow for an extra SELECT query to be
    removed, nor does it use the row count for determining offsets and the
    likes; instead it's only used to determine the batch size.
    c1e756c2
migration_helpers.rb 5.78 KB