mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 03:03:44 +08:00
14 lines
226 B
Ruby
14 lines
226 B
Ruby
# 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
|