mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 10:48:49 +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
|