Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
21c53ed249cf88686faa6e4f0de689e0771a48cc
discourse/db/migrate/20200707183007_add_animated_to_uploads.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
157 B
Ruby
Raw Normal View History

DEV: Remove gifsicle dependency (#10357) Dependency on gifsicle, allow_animated_avatars and allow_animated_thumbnails site settings were all removed. Animated GIF images are still allowed, but the generated optimized images are no longer animated for those (which were used for avatars and thumbnails). The added 'animated' is populated by extracting information using FastImage. This field was used to selectively reoptimize old animations. This process happens in the background.
2020-10-16 13:41:27 +03:00
# frozen_string_literal: true
class AddAnimatedToUploads < ActiveRecord::Migration[6.0]
def change
add_column :uploads, :animated, :boolean
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 106ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API