Merge branch 'master' into greenkeeper/fs-extra-7.0.0

This commit is contained in:
Kononnable 2018-07-23 22:53:49 +02:00 committed by GitHub
commit f6807221c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ export abstract class AbstractDriver {
}
changeEntityNames(dbModel: DatabaseModel) {
dbModel.entities.forEach(entity => {
let newName = this.namingStrategy.columnName(entity.EntityName);
let newName = this.namingStrategy.entityName(entity.EntityName);
dbModel.entities.forEach(entity2 => {
entity2.Columns.forEach(column => {
column.relations.forEach(relation => {