Set theme override

This commit is contained in:
Gregoo
2025-01-29 19:28:00 +01:00
parent 257bccc339
commit b2d2019bfd
8 changed files with 111 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
SELECT
{% block id %}{% endblock %}
"bricktracker_sets"."theme",
"rebrickable_sets"."set",
"rebrickable_sets"."number",
"rebrickable_sets"."version",

View File

@@ -0,0 +1,3 @@
UPDATE "bricktracker_sets"
SET "theme" = :theme
WHERE "bricktracker_sets"."id" IS NOT DISTINCT FROM :id