discourse/db/migrate/20230224225129_backfill_svg_sprites.rb

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

14 lines
226 B
Ruby
Raw Normal View History

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