From e679deb3764af5317284f5de117ade9e0742426a Mon Sep 17 00:00:00 2001 From: nennad Date: Thu, 3 Sep 2015 17:02:21 +0100 Subject: [PATCH] typo fix --- lib/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datasource.js b/lib/datasource.js index fd4b54f1..30aa27e8 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -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; } }