fix(grfn/bbbg): Fix honeysql syntax for upsert

Change-Id: I49eb046a1897794442c748e81560de76684eda01
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4669
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2021-12-26 12:02:59 -05:00 committed by clbot
parent 4bbadfb930
commit 8158edbafa

View file

@ -60,8 +60,8 @@
(db/process-key-map :attendee) (db/process-key-map :attendee)
(u/map-keys keyword)) (u/map-keys keyword))
attendees) attendees)
:upsert [[:on-conflict [:meetup-user-id]] :upsert {:on-conflict [:meetup-user-id]
[:do-update-set [:meetup-name]]] :do-update-set [:meetup-name]}
:returning [:id :meetup-user-id]})) :returning [:id :meetup-user-id]}))
(comment (comment