-
Notifications
You must be signed in to change notification settings - Fork 46
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
Store fil value in db as numeric type #244
Labels
kind/enhancement
Improvement to an existing feature
Comments
As far as I tell go-pg has no automatic support for big.Int/numeric types. |
This leads me to believe there is undocumented support: go-pg/pg@d36b827. |
Text fields that could be changed (since they are big.Int in lotus):
Note Other possibilities (need confirming):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We currently store FIL values as
TEXT
in the db. We often want to aggregate over the numeric value of the FIL, so lets store FIL asNUMERIC
.Caveat:
Even so, I propose that we consider the raw, ingest form of the value column to be numeric rather than text.
Acceptance criteria
The
value
column isNUMERIC
in all tables and views that record them.Where to begin
The text was updated successfully, but these errors were encountered: