Skip to content

Commit 8e045b0

Browse files
authored
Merge pull request #2656 from DMPRoadmap/revert-touch-false
Revert touch false
2 parents e391c74 + 8a4f801 commit 8e045b0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/tasks/upgrade.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ namespace :upgrade do
11381138

11391139
next unless plan.owner.present? && plan.owner.org.present?
11401140

1141-
plan.update(org_id: plan.owner.org.id, touch: false)
1141+
plan.update(org_id: plan.owner.org.id)
11421142
end
11431143

11441144
p "Attaching Plans to Funders"
@@ -1167,7 +1167,7 @@ namespace :upgrade do
11671167
funder_id = org.id if org.present?
11681168
end
11691169

1170-
plan.update(funder_id: funder_id, touch: false) if funder_id.present?
1170+
plan.update(funder_id: funder_id) if funder_id.present?
11711171
end
11721172
p "Complete"
11731173
end
@@ -1186,7 +1186,7 @@ namespace :upgrade do
11861186
identifier = Identifier.find_or_create_by(
11871187
identifier_scheme_id: nil, identifiable: plan, value: plan.grant_number
11881188
)
1189-
plan.update(grant_id: identifier.id, touch: false)
1189+
plan.update(grant_id: identifier.id)
11901190
end
11911191
p "Complete"
11921192
end

0 commit comments

Comments
 (0)