dawarich/db/data/20250303194123_migrate_places_lonlat.rb
2025-03-03 20:50:49 +01:00

13 lines
276 B
Ruby

# frozen_string_literal: true
class MigratePlacesLonlat < ActiveRecord::Migration[8.0]
def up
User.find_each do |user|
DataMigrations::MigratePlacesLonlatJob.perform_later(user.id)
end
end
def down
raise ActiveRecord::IrreversibleMigration
end
end