We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a773c commit 37fb724Copy full SHA for 37fb724
internal/incident/db_types.go
@@ -43,14 +43,14 @@ func (c *ContactRow) Upsert() interface{} {
43
// PgsqlOnConflictConstraint implements the database.PgsqlOnConflictConstrainter interface.
44
func (c *ContactRow) PgsqlOnConflictConstraint() string {
45
if c.ContactID.Valid {
46
- return "key_incident_contact_contact"
+ return "uk_incident_contact_incident_id_contact_id"
47
}
48
49
if c.GroupID.Valid {
50
- return "key_incident_contact_contactgroup"
+ return "uk_incident_contact_incident_id_contactgroup_id"
51
52
53
- return "key_incident_contact_schedule"
+ return "uk_incident_contact_incident_id_schedule_id"
54
55
56
// RuleRow represents a single incident rule database entry.
0 commit comments