From 8158edbafa1ab7d563c4759454eba4ba0592d972 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 26 Dec 2021 12:02:59 -0500 Subject: fix(grfn/bbbg): Fix honeysql syntax for upsert Change-Id: I49eb046a1897794442c748e81560de76684eda01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4669 Reviewed-by: grfn Autosubmit: grfn Tested-by: BuildkiteCI --- users/grfn/bbbg/src/bbbg/db/attendee.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users') diff --git a/users/grfn/bbbg/src/bbbg/db/attendee.clj b/users/grfn/bbbg/src/bbbg/db/attendee.clj index d5d6011e2c10..91e13e07f860 100644 --- a/users/grfn/bbbg/src/bbbg/db/attendee.clj +++ b/users/grfn/bbbg/src/bbbg/db/attendee.clj @@ -60,8 +60,8 @@ (db/process-key-map :attendee) (u/map-keys keyword)) attendees) - :upsert [[:on-conflict [:meetup-user-id]] - [:do-update-set [:meetup-name]]] + :upsert {:on-conflict [:meetup-user-id] + :do-update-set [:meetup-name]} :returning [:id :meetup-user-id]})) (comment -- cgit 1.4.1