You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Postgres/CockroachDB if a column is defined with just precision and no scale, the scale is assumed to be 0 (ex. NUMERIC(10) -> NUMERIC(10,0)), but ActiveRecord treats this as a NUMERIC without scale defined, which means it can have digits to the right of the decimal place.
We are going to match the ActiveRecord behavior, but use this to track it and check if the behavior changes eventually.
The text was updated successfully, but these errors were encountered:
In Postgres/CockroachDB if a column is defined with just precision and no scale, the scale is assumed to be 0 (ex.
NUMERIC(10)
->NUMERIC(10,0)
), but ActiveRecord treats this as a NUMERIC without scale defined, which means it can have digits to the right of the decimal place.We are going to match the ActiveRecord behavior, but use this to track it and check if the behavior changes eventually.
The text was updated successfully, but these errors were encountered: