mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-29 23:29:15 +08:00
13 lines
226 B
Ruby
13 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
|