Skip to content

A platform for community discussion. Free, open, simple.

Revert "FEATURE: force rebake of all posts with images"

David Taylorcb317430a1c2
diff --git a/db/migrate/20190103060819_force_rebake_on_posts_with_images.rb b/db/migrate/20190103060819_force_rebake_on_posts_with_images.rb
deleted file mode 100644
index 3837aae59e0..00000000000
--- a/db/migrate/20190103060819_force_rebake_on_posts_with_images.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class ForceRebakeOnPostsWithImages < ActiveRecord::Migration[5.2]
- def up
-
- # commit message has more info:
- # Picking up changes with pngquant, placeholder image, new image magick, retina images
-
- execute <<~SQL
- UPDATE posts SET baked_version = 0
- WHERE id IN (SELECT post_id FROM post_uploads)
- SQL
- end
-
- def down
- # no op, does not really matter
- end
-end