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

Create activities query #534

Open
samuveth opened this issue Dec 24, 2022 · 1 comment
Open

Create activities query #534

samuveth opened this issue Dec 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@samuveth
Copy link
Contributor

samuveth commented Dec 24, 2022

Related to snapshot-labs/snapshot-v1#3340

So that we can query other user activities like proposals and join we need to create an activities table where we can query all activities in a single query.

@samuveth samuveth added the enhancement New feature or request label Dec 24, 2022
@ChaituVR ChaituVR changed the title Create activities table Create activities query Dec 26, 2022
@ChaituVR
Copy link
Member

I think it would be hard to maintain a separate table. we should try to add a new query to get data from multiple tables

  • New query activity
  • Select data from votes, proposals, and follows (maybe aliases too) with timestamp, id, title, and choice

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