Skip to content

Commit

Permalink
Add configurable trackers to badges (#202)
Browse files Browse the repository at this point in the history
Enables badges that do more than count unique bottles, for example, one which asks you to try whiskies from different countries.
  • Loading branch information
dcramer authored Aug 2, 2024
1 parent 3c647e7 commit b9eecae
Show file tree
Hide file tree
Showing 21 changed files with 3,829 additions and 47 deletions.
3 changes: 3 additions & 0 deletions apps/server/migrations/0140_outgoing_bruce_banner.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TYPE "badge_award_object_type" ADD VALUE 'country';
ALTER TYPE "badge_award_object_type" ADD VALUE 'region';
ALTER TABLE "badges" ADD COLUMN "tracker" "badge_award_object_type" DEFAULT 'bottle' NOT NULL;
Loading

0 comments on commit b9eecae

Please sign in to comment.