summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-02-27 14:06:01 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-02-27 14:06:01 +0000
commitcf016c54171455832e08257631f373aa4fb9e29b (patch)
treed7c22ca30bdc6c3f6d384c253152d176b7759452 /db
parent10e59d467c87dd21db7d157b3a1c06961228645b (diff)
downloadredmine-cf016c54171455832e08257631f373aa4fb9e29b.tar.gz
redmine-cf016c54171455832e08257631f373aa4fb9e29b.zip
Fix rubocop offense (#36416).
git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20220224194639_delete_orphaned_time_entry_activities.rb2
1 files changed, 1 insertions, 1 deletions
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