]> source.dussan.org Git - redmine.git/commitdiff
Fix rubocop offense (#36416).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 27 Feb 2022 14:06:01 +0000 (14:06 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 27 Feb 2022 14:06:01 +0000 (14:06 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb

index 51cf0265bd6477e66a5f1b767f6ef36b94cbabc4..899fc5892d324a99da249bce4da98e6946ebc538 100644 (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