discourse/db/migrate/20190103051737_add_version_to_optimized_images.rb
Sam 570877da3c FEATURE: store thumbnail algorithm version in optimized image table
Previously we had no idea what algorithm generated thumbnails, this starts tracking the version.

We also bumped up the version to force all optimized images to be generated. This is important cause we recently introduced pngquant which results in much smaller images.
2019-01-03 17:07:30 +11:00

6 lines
141 B
Ruby

class AddVersionToOptimizedImages < ActiveRecord::Migration[5.2]
def change
add_column :optimized_images, :version, :integer
end
end