Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Reactions Datamodel #2

Open
nathankoerschner opened this issue Dec 20, 2021 · 2 comments
Open

Refactor Reactions Datamodel #2

nathankoerschner opened this issue Dec 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@nathankoerschner
Copy link
Contributor

Refactor datamodel (in database and figma file) to include a reaction_history table as well as a reaction entity table.

Then refactor ETL accordingly.

reaction entity properties:

  • userId
  • messageId
  • reactionAddedTimestamp

Then all other data, such as "deleted", "emoji", etc can go under the reaction_history table. This stays consistant with the rest of the datamodel.

@clemp clemp added the enhancement New feature or request label Dec 20, 2021
@clemp clemp added this to the Refactoring Backlog milestone Dec 20, 2021
@nathankoerschner
Copy link
Contributor Author

Completed with this commit

@nathankoerschner
Copy link
Contributor Author

Next need to update the database to include this new table, guild_message_reaction_histories, as outlined in the datamodel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants