Skip to content

Commit

Permalink
chore: update topology on conflict clause
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Aug 26, 2024
1 parent e7edbc9 commit 833f5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (t Topology) OnConflictClause() clause.OnConflict {
Exprs: []clause.Expression{
clause.And(
clause.Eq{Column: "deleted_at"},
clause.Eq{Column: "agent_id", Value: uuid.Nil.String()},
clause.Expr{SQL: "agent_id = '00000000-0000-0000-0000-000000000000'::uuid", WithoutParentheses: true},
),
},
},
Expand Down

0 comments on commit 833f5b0

Please sign in to comment.