From 0258c17b797f74adde94f649262929c16ce50195 Mon Sep 17 00:00:00 2001 From: Ryan Shillington Date: Wed, 27 Aug 2025 14:51:13 -0400 Subject: [PATCH] #144 Handle lower case relation name --- src/structure-loader.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/structure-loader.ts b/src/structure-loader.ts index 8b6939d..28a1f68 100644 --- a/src/structure-loader.ts +++ b/src/structure-loader.ts @@ -105,6 +105,9 @@ export default async (conversion: Conversion): Promise => { result.data.forEach((row: any) => { let relationName: string = row[`Tables_in_${conversion._mySqlDbName}`]; + if(!relationName) { + relationName = row[`Tables_in_${conversion._mySqlDbName.toLowerCase()}`]; + } if (row.Table_type === 'BASE TABLE' && conversion._excludeTables.indexOf(relationName) === -1) { relationName = extraConfigProcessor.getTableName(conversion, relationName, false);