1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Fix rubocop offense (#36416).

git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-02-27 14:06:01 +00:00
parent 10e59d467c
commit cf016c5417

View File

@ -1,6 +1,6 @@
class DeleteOrphanedTimeEntryActivities < ActiveRecord::Migration[6.1]
def self.up
TimeEntryActivity.left_outer_joins(:project).where(projects:{id: nil}).where.not(project_id: nil).delete_all
TimeEntryActivity.left_outer_joins(:project).where(projects: {id: nil}).where.not(project_id: nil).delete_all
end
def self.down