From cf016c54171455832e08257631f373aa4fb9e29b Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 27 Feb 2022 14:06:01 +0000 Subject: [PATCH] Fix rubocop offense (#36416). git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../20220224194639_delete_orphaned_time_entry_activities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb b/db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb index 51cf0265b..899fc5892 100644 --- a/db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb +++ b/db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb @@ -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 -- 2.39.5