Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Challenge achievements need a way to specify which week they apply to

See original GitHub issue

Issue Description

Spin-off of

Upon adding the Week 1 prizes:

INSERT INTO earn (achievement_id, team_id) VALUES(3, 1);
INSERT INTO earn (achievement_id, team_id) VALUES(4, 3);
INSERT INTO earn (achievement_id, team_id) VALUES(5, 2);

This happened:


Observed: Week 1 results ended up in Week 2, and Week 1 shows a three-way tie for first.

Expected: Week 2 should remain blank. Week 1 should display what’s currently in Week 2.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

phireworkcommented, Nov 27, 2019

Hmm I think for non-weekly achievements we’ll still need the date that it was earned, but it might be worth considering adding an extra column to the achievements table that defines which week’s points it’s meant to count for, with NULL meaning “any week”?

phireworkcommented, Nov 27, 2019

@rileyjshaw Yep I can deal with that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get all of the Apple Watch Activity challenge badges
Trying to snag every Activity badge? Here's a full list of the achievements and what you need to do to get them.
Read more >
The 12 Week Plan: The Fast Track to Goal Achievement
At the top of the page, write your first 12-week goal. Then, list the most significant action required to start the process, and...
Read more >
Microsoft Rewards Weekly Set Guide, Earn 3 Achievements
Earn 3 Achievements for 160 Microsoft Rewards points (100 for the weekly set + 10 quest points + 50 points for a daily...
Read more >
Microsoft Rewards Weekly Set Guide, Earn 3 Achievements
Microsoft Rewards Weekly Set Guide, Earn 3 Achievements - Kill It With Fire Part 9. 2.9K views · 8 months ago ...more ...
Read more >
Problems with Xbox achievements and challenges
Unlike achievements, challenges must be completed within a set amount of time. You have weeks, months, or just hours to complete the challenge—the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found