discourse/db/post_migrate/20230224225129_backfill_svg_sprites.rb
Daniel Waterworth 84f590ab83
DEV: Store theme sprites in the DB (#20501)
Let's avoid fetching sprites from the CDN during page rendering.
2023-03-14 13:11:45 -05:00

10 lines
162 B
Ruby

# frozen_string_literal: true
class BackfillSvgSprites < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def up
ThemeSvgSprite.refetch!
end
end