mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-11 02:00:37 +08:00
Swap INTEGER for INT in generic diagrams to maintain backward compatibility
This commit is contained in:
@@ -6,8 +6,8 @@ const binaryRegex = /^[01]+$/;
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
export const defaultTypes = {
|
||||
INTEGER: {
|
||||
type: "INTEGER",
|
||||
INT: {
|
||||
type: "INT",
|
||||
checkDefault: (field) => {
|
||||
return intRegex.test(field.default);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user