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

db: add user_balance table? #261

Open
lispc opened this issue Aug 9, 2021 · 1 comment
Open

db: add user_balance table? #261

lispc opened this issue Aug 9, 2021 · 1 comment

Comments

@lispc
Copy link
Member

lispc commented Aug 9, 2021

We only have balance_history table now.

A user_balance table is quite useful.

eg, 'select * from user_balance where coin = 'eth' order by balance desc limit 10'

@lispc
Copy link
Member Author

lispc commented Aug 9, 2021

is it really necessary? We dump balance as balance_slice regularry

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

No branches or pull requests

1 participant