Fix linting error
This commit is contained in:
parent
04287f6a77
commit
4d20fa7746
|
@ -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) +
|
||||
|
|
Loading…
Reference in New Issue