Skip to content

Commit

Permalink
Run ReorderHierarchyJob synchronously in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ba1ash committed Feb 20, 2024
1 parent e6dcb82 commit e615525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20220202140507_reorder_project_children.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

class ReorderProjectChildren < ActiveRecord::Migration[6.1]
def up
::Projects::ReorderHierarchyJob.perform_later
::Projects::ReorderHierarchyJob.new.perform
end
end

0 comments on commit e615525

Please sign in to comment.