Support updating and displaying numeric
data type precision and scale within Table Editor UI
#20383
Unanswered
thedalelakes
asked this question in
Feature Requests
Replies: 1 comment
-
pleaaaaaaaaaaaaaaaaaaaaase do this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
Postgres supports arbitrary precision numbers, which lets you store decimal numbers at a specific precision and scale. This is useful for storing certain types of values (currency, ratings, etc.)
Currently, if a Supabase user wants to set the precision and scale for a column that is a
numeric
type, they can only do so via the SQL Editor through the following query:This will enforce only supporting values from -99.99 to 99.99.
However, even when this query succeeds in the SQL Editor, there is nothing in the Table Editor displaying this constraint.
Request
Support adding, removing, updating, and displaying the
numeric
precision and scale from the Table Editor.Beta Was this translation helpful? Give feedback.
All reactions