netlify / explorers

https://explorers.netlify.com/
MIT License
261 stars 40 forks source link

Set up new tables in Hasura to support the rewards flow #475

Closed philhawksworth closed 3 years ago

philhawksworth commented 3 years ago
tzmanics commented 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:

Screen Shot 2021-02-10 at 12 28 55 PM