Closed philhawksworth closed 3 years ago
Ok, i deleted my last long comment to avoid any confusion.
The rewards
table is now set up correctly (thank you @jlengstorf) so that it has a column for achievement_id
that has an object relationship to id
in the achievements
table.
The achievements
table never needs to know any information about rewards so no new columns were added but it's id
now has an array relationship to achievement_id
in the rewards
table.
Next steps:
achievement_id
(will get sent to the reward webhook as part of the event payload) and write to the rewards
table.
achievements
table in Hasurarewards
table in Hasuraachievements
andrewards
tables so we can query in GraphQLactivity
table gets new data (ref #471)