mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
14 lines
276 B
Ruby
14 lines
276 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class MigratePointsLatlon < ActiveRecord::Migration[8.0]
|
||
|
|
def up
|
||
|
|
User.find_each do |user|
|
||
|
|
DataMigrations::MigratePointsLatlonJob.perform_later(user.id)
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
def down
|
||
|
|
raise ActiveRecord::IrreversibleMigration
|
||
|
|
end
|
||
|
|
end
|