Ankur Malik f664314b29
All checks were successful
Build and Push Docker Image / setup (push) Successful in 5s
Build and Push Docker Image / build_and_push (push) Successful in 33s
Add db_push_scores branch contents
2025-11-26 12:08:33 -05:00

22 lines
515 B
SQL

INSERT INTO public.scores (
application_key,
application_timestamp,
hd_score_m1,
hd_score_m2,
hd_score_iso_m2
)
VALUES (
$application_key,
$application_timestamp,
$hd_score_m1,
$hd_score_m2,
$hd_score_iso_m2
)
ON CONFLICT (application_key)
DO UPDATE
SET application_timestamp = EXCLUDED.application_timestamp,
hd_score_m1 = EXCLUDED.hd_score_m1,
hd_score_m2 = EXCLUDED.hd_score_m2,
hd_score_iso_m2 = EXCLUDED.hd_score_iso_m2;