Skip to content

Commit 6643bdf

Browse files
committed
Stop writing contactfire.extra
1 parent 4737dc8 commit 6643bdf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: backends/rapidpro/schema.sql

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ CREATE TABLE IF NOT EXISTS contacts_contactfire (
7373
fire_on timestamp with time zone NOT NULL,
7474
session_uuid uuid,
7575
sprint_uuid uuid,
76-
extra jsonb,
7776
UNIQUE (contact_id, fire_type, scope)
7877
);
7978

Diff for: backends/rapidpro/timeouts.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
type SessionID int64
1313

1414
const sqlInsertTimeoutFire = `
15-
INSERT INTO contacts_contactfire(org_id, contact_id, fire_type, scope, fire_on, session_uuid, sprint_uuid, extra)
16-
VALUES($1, $2, 'T', '', $3, $4, $5, '{}')
15+
INSERT INTO contacts_contactfire(org_id, contact_id, fire_type, scope, fire_on, session_uuid, sprint_uuid)
16+
VALUES($1, $2, 'T', '', $3, $4, $5)
1717
ON CONFLICT DO NOTHING`
1818

1919
// insertTimeoutFire inserts a timeout fire for the session associated with the given msg

0 commit comments

Comments
 (0)