Fix linting error

This commit is contained in:
Matthew Dickinson 2016-09-23 16:44:40 -04:00
parent 04287f6a77
commit 4d20fa7746
1 changed files with 1 additions and 1 deletions

View File

@ -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) +