fix fetching tables from database with uppercase name
This commit is contained in:
parent
e68fa5b6af
commit
5cd0c1c691
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue