]> git.cworth.org Git - turbot/commit
Home: Update query for finding puzzles to new all-one-table schema
authorCarl Worth <cworth@cworth.org>
Thu, 31 Dec 2020 17:22:04 +0000 (10:22 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 31 Dec 2020 19:05:16 +0000 (12:05 -0700)
commit82ef8e9a39a5701a90804ffe998de4c07a6c8324
tree5cc9bb098ad5700050069c91df24eeffbe6c016e
parentb88e53307a8598554367a72698b4fdb332cc7cb9
Home: Update query for finding puzzles to new all-one-table schema

Previously, we looked in a separate per-hunt table to find the puzzles
for a hunt. Now, instead, we look in the single "turbot" table and
find puzzles for a hunt by looking for items whose PK is
"hunt-<HUNT_ID>" and whose SK starts with "puzzle-".
.flake8
turbot/events.py