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

Support PG money #680

Closed
sgrif opened this Issue Feb 11, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@sgrif
Member

sgrif commented Feb 11, 2017

We get enough questions/bug reports where people are storing a column called price as float or numeric to justify supporting this type. It should be extremely simple to add, the storage format is just price in cents as a signed 64 bit integer. We should only support conversion to/from a struct like struct Cents(i64);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment