Skip to content

Commit d28a014

Browse files
1ilitewqazxc
authored andcommitted
Fix double precision type and color for postgres (drawdb-io#510)
1 parent 809e58b commit d28a014

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/data/datatypes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,8 @@ const postgresTypesBase = {
897897
hasPrecision: true,
898898
},
899899
"DOUBLE PRECISION": {
900-
type: decimalColor,
900+
type: "DOUBLE PRECISION",
901+
color: decimalColor,
901902
checkDefault: (field) => {
902903
return doubleRegex.test(field.default);
903904
},

0 commit comments

Comments
 (0)