Skip to content

Commit

Permalink
Remove journal_user definition from migration
Browse files Browse the repository at this point in the history
Creating activity entries just results in noise and is not being used
at the moment as using update_all bypasses Rails hooks.
  • Loading branch information
aaron-contreras committed Jan 30, 2024
1 parent f89e4b7 commit f2d97c0
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,4 @@ def rollback_from_derived_done_ratio
def non_leaf_work_packages
WorkPackage.where.not(id: WorkPackage.leaves)
end

# Sets the system user as the author of the Journal
# entries generated by this migration. Creates the system
# user if it doesn't already exist.
def journal_user = User.system
end

0 comments on commit f2d97c0

Please sign in to comment.