mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Import enums from source
This commit is contained in:
@@ -9,6 +9,8 @@ function checkDefault(field, database) {
|
||||
|
||||
if (!field.notNull && field.default.toLowerCase() === "null") return true;
|
||||
|
||||
if(!dbToTypes[database][field.type].checkDefault) return true;
|
||||
|
||||
return dbToTypes[database][field.type].checkDefault(field);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user