Skip to content

Commit 34e7b91

Browse files
[ci] review feedback on conflict do nothing
Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
1 parent 5970486 commit 34e7b91

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/scan/src/main/scala/org/lfdecentralizedtrust/splice/scan/store/db/ScanAggregator.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,9 +960,7 @@ final class ScanAggregator(
960960
and rpt.party = ap.party
961961
and rpt.store_id = $roundTotalsStoreId
962962
group by ap.aggr_round
963-
on conflict (store_id, closed_round)
964-
do update set sum_cumulative_change_to_initial_amount_as_of_round_zero = excluded.sum_cumulative_change_to_initial_amount_as_of_round_zero,
965-
sum_cumulative_change_to_holding_fees_rate = excluded.sum_cumulative_change_to_holding_fees_rate;
963+
on conflict do nothing;
966964
""".andThen(DBIOAction.successful(()))
967965
}
968966
logger.info(

0 commit comments

Comments
 (0)