typo fix
This commit is contained in:
parent
f3b0cb062e
commit
e679deb376
|
@ -1820,7 +1820,7 @@ DataSource.prototype.defineForeignKey = function defineForeignKey(className, key
|
|||
if (foreignMeta.dataType) {
|
||||
fkDef[this.connector.name].dataType = foreignMeta.dataType;
|
||||
}
|
||||
if (foreingMeta.dataLength) {
|
||||
if (foreignMeta.dataLength) {
|
||||
fkDef[this.connector.name].dataLength = foreignMeta.dataLength;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue