Convert Bite event field types to numeric

- Enables arithmetic operations when constructing views
- Also removes application-level references to DB ID
This commit is contained in:
Rob Mulholand
2018-10-16 15:27:13 -05:00
parent d3df685c46
commit d0226dbce5
11 changed files with 23 additions and 53 deletions
+1 -2
View File
@@ -15,14 +15,13 @@
package bite
type BiteModel struct {
Id string
Ilk string
Urn string
Ink string
Art string
IArt string
Tab string
Flip string
NFlip string
TransactionIndex uint `db:"tx_idx"`
Raw string `db:"raw_log"`
}