mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 13:33:44 +08:00
570877da3c
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.
6 lines
141 B
Ruby
6 lines
141 B
Ruby
class AddVersionToOptimizedImages < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :optimized_images, :version, :integer
|
|
end
|
|
end
|