mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-07-18 10:11:24 +00:00
Fix double precision type and color for postgres (#510)
This commit is contained in:
@@ -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);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user