This commit is contained in:
Jan Prochazka 2020-06-28 21:28:14 +02:00
parent a85ad0a1f0
commit 0c3a2fb047

View File

@ -68,7 +68,7 @@ class MySqlAnalyser extends DatabaseAnalayser {
if (typeField == 'views') return [pureName];
}
if (this.modifications) {
return this.modifications.filter((x) => x.objectTypeField == 'views').map((x) => x.newName);
return this.modifications.filter((x) => x.objectTypeField == 'views').map((x) => x.newName.pureName);
}
return allViewNames;
}
@ -157,6 +157,8 @@ class MySqlAnalyser extends DatabaseAnalayser {
pureName: x.Name,
})),
]);
// console.log('allModifications', allModifications);
// console.log('MOD - SRC', modifications);
// console.log(
// 'MODs',