Merge pull request #2551 from mslourens/fix_uppercase_database_name
fix fetching tables from database with uppercase name
This commit is contained in:
commit
2e192f8acd
|
@ -152,7 +152,7 @@ module MySQLModule {
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
const tableNames = tablesResp.map(
|
const tableNames = tablesResp.map(
|
||||||
(obj: any) => obj[`Tables_in_${database}`]
|
(obj: any) => obj[`Tables_in_${database.toLowerCase()}`]
|
||||||
)
|
)
|
||||||
for (let tableName of tableNames) {
|
for (let tableName of tableNames) {
|
||||||
const primaryKeys = []
|
const primaryKeys = []
|
||||||
|
|
Loading…
Reference in New Issue