diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-02-27 14:06:01 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-02-27 14:06:01 +0000 |
commit | cf016c54171455832e08257631f373aa4fb9e29b (patch) | |
tree | d7c22ca30bdc6c3f6d384c253152d176b7759452 /db | |
parent | 10e59d467c87dd21db7d157b3a1c06961228645b (diff) | |
download | redmine-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.rb | 2 |
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 |