Browse Source
Merge pull request #2551 from mslourens/fix_uppercase_database_name
fix fetching tables from database with uppercase name
pull/2614/head
Martin McKeaveney
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/server/src/integrations/mysql.ts
|
|
|
@ -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 = [] |
|
|
|
|