changes to repo and repo tests so that supply table is organized and accessed by token_address

This commit is contained in:
Ian Norden
2018-11-03 13:49:23 -05:00
parent bea712ba10
commit 99e549b3df
3 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ import (
)
type TokenSupplyDBRow struct {
ID int64
Supply int64
ID int64 `db:"id"`
Supply int64 `db:"supply"`
BlockID int64 `db:"block_id"`
TokenAddress string `db:"token_address"`
}