mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-12-21 01:07:24 +08:00
Remove double precision warning
This commit is contained in:
@@ -128,12 +128,6 @@ export function getIssues(diagram) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (field.type === "DOUBLE" && field.size !== "") {
|
|
||||||
issues.push(
|
|
||||||
`Specifying number of digits for floating point data types is deprecated.`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (duplicateFieldNames[field.name]) {
|
if (duplicateFieldNames[field.name]) {
|
||||||
issues.push(`Duplicate table fields in table "${table.name}"`);
|
issues.push(`Duplicate table fields in table "${table.name}"`);
|
||||||
} else {
|
} else {
|
||||||
@@ -194,12 +188,6 @@ export function getIssues(diagram) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (field.type === "DOUBLE" && field.size !== "") {
|
|
||||||
issues.push(
|
|
||||||
`Specifying number of digits for floating point data types is deprecated.`,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (duplicateFieldNames[field.name]) {
|
if (duplicateFieldNames[field.name]) {
|
||||||
issues.push(`Duplicate type fields in "${type.name}"`);
|
issues.push(`Duplicate type fields in "${type.name}"`);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user