From 4d20fa77463c720e4ae4c3e248888072d285a303 Mon Sep 17 00:00:00 2001 From: Matthew Dickinson Date: Fri, 23 Sep 2016 16:44:40 -0400 Subject: [PATCH] Fix linting error --- lib/migration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/migration.js b/lib/migration.js index f0bc910..060a271 100644 --- a/lib/migration.js +++ b/lib/migration.js @@ -420,7 +420,7 @@ function mixinMigration(MySQL, mysql) { var definition = this.getModelDefinition(model); var fk = definition.settings.foreignKeys[keyName]; if (fk) { - var fkEntity = typeof fk.entity === "object" ? fk.entity : {name: fk.entity}; //this.getModelDefinition(fk.entity); + var fkEntity = typeof fk.entity === 'object' ? fk.entity : {name: fk.entity}; //this.getModelDefinition(fk.entity); //TODO verify that the other model in the same DB return ' CONSTRAINT ' + this.client.escapeId(fk.name) +