mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
12 lines
236 B
Ruby
12 lines
236 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class RecalculateStatsAfterChangingDistanceUnits < ActiveRecord::Migration[8.0]
|
||
|
|
def up
|
||
|
|
BulkStatsCalculatingJob.perform_later
|
||
|
|
end
|
||
|
|
|
||
|
|
def down
|
||
|
|
raise ActiveRecord::IrreversibleMigration
|
||
|
|
end
|
||
|
|
end
|