Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implementation for money data type #249

Closed
10 tasks done
kgodey opened this issue Jun 14, 2021 · 1 comment
Closed
10 tasks done

Implementation for money data type #249

kgodey opened this issue Jun 14, 2021 · 1 comment
Labels
pr-status: revision A PR awaiting follow-up work from its author after review
Milestone

Comments

@kgodey
Copy link
Contributor

kgodey commented Jun 14, 2021

Problem

Users will want to store monetary data in columns. We should allow them to do so and implement this type appropriately in the backend.

Proposed solution

Postgres has a built-in MONEY type, but the currency used for it is locked to the lc_monetary setting of the Postgres installation (see docs). We need to support storing money in different currencies in different columns, so we will create a custom MATHESAR_MONEY type.

Tasks that need to completed

Moved to a later milestone:

Additional context

@kgodey kgodey added type: enhancement work: backend Related to Python, Django, and simple SQL needs: unblocking Blocked by other work labels Jun 14, 2021
@kgodey kgodey added this to the 8. Initial Data Types milestone Jun 14, 2021
@kgodey kgodey added status: detail needed ready Ready for implementation and removed needs: unblocking Blocked by other work type: enhancement labels Jul 15, 2021
@kgodey kgodey added work: product and removed work: backend Related to Python, Django, and simple SQL work: database labels Sep 13, 2021
@kgodey kgodey changed the title Backend/API implementation for money data type Implementation for money data type Sep 13, 2021
@kgodey kgodey added pr-status: revision A PR awaiting follow-up work from its author after review and removed ready Ready for implementation labels Mar 1, 2022
@kgodey kgodey modified the milestones: Cycle 2, Cycle 3, High Priority Jul 19, 2022
@pavish
Copy link
Member

pavish commented Mar 15, 2023

I'm going to close this meta issue since the one pending item: #419 is tracked separately.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
pr-status: revision A PR awaiting follow-up work from its author after review
Projects
No open projects
Development

No branches or pull requests

3 participants