1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix(MySQL): creating temporary tables on export to overcome view dependency errors

This commit is contained in:
2022-05-06 17:20:06 +02:00
parent bfdb463390
commit e4c5d9b404
3 changed files with 28 additions and 4 deletions

View File

@ -102,7 +102,7 @@ export class MySQLClient extends AntaresCore {
return { name, length };
}
private _getTypeInfo (type: string) {
_getTypeInfo (type: string) {
return dataTypes
.reduce((acc, group) => [...acc, ...group.types], [])
.filter((_type) => _type.name === type.toUpperCase())[0];