1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

fix fetching tables from database with uppercase name

This commit is contained in:
Maurits Lourens 2021-09-06 12:33:03 +02:00
parent d374d25393
commit 4d4d6aa27b

View file

@ -152,7 +152,7 @@ module MySQLModule {
false
)
const tableNames = tablesResp.map(
(obj: any) => obj[`Tables_in_${database}`]
(obj: any) => obj[`Tables_in_${database.toLowerCase()}`]
)
for (let tableName of tableNames) {
const primaryKeys = []