Fix double precision type and color for postgres (#510)

This commit is contained in:
1ilit
2025-06-24 15:06:35 +04:00
committed by GitHub
parent 5a5304073e
commit 0ba313210a

View File

@@ -897,7 +897,8 @@ const postgresTypesBase = {
hasPrecision: true, hasPrecision: true,
}, },
"DOUBLE PRECISION": { "DOUBLE PRECISION": {
type: decimalColor, type: "DOUBLE PRECISION",
color: decimalColor,
checkDefault: (field) => { checkDefault: (field) => {
return doubleRegex.test(field.default); return doubleRegex.test(field.default);
}, },