Skip to content

Commit

Permalink
Promotions conflict on parent_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Siliconrob committed Feb 26, 2024
1 parent 408a8e0 commit 9ae5150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_messages/Promotions.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def load_promotions(promotions: list[Promotion], file_info: FileInfo.FileInfo,
?parent_id?,
?min?,
?max?
) ON CONFLICT (external_id, file_id, min, max) DO NOTHING""",
) ON CONFLICT (external_id, file_id, parent_id, min, max) DO NOTHING""",
param={
"external_id": promotion.external_id,
"file_id": new_id,
Expand Down

0 comments on commit 9ae5150

Please sign in to comment.