2025-01-24 10:36:24 +01:00
|
|
|
INSERT INTO "bricktracker_set_statuses" (
|
2025-01-27 23:07:10 +01:00
|
|
|
"id",
|
2025-01-24 10:36:24 +01:00
|
|
|
"{{name}}"
|
|
|
|
) VALUES (
|
|
|
|
:id,
|
|
|
|
:status
|
|
|
|
)
|
2025-01-27 23:07:10 +01:00
|
|
|
ON CONFLICT("id")
|
2025-01-24 10:36:24 +01:00
|
|
|
DO UPDATE SET "{{name}}" = :status
|
2025-01-27 23:07:10 +01:00
|
|
|
WHERE "bricktracker_set_statuses"."id" IS NOT DISTINCT FROM :id
|