diff --git a/packages/basic.gblib/services/GBVMService.ts b/packages/basic.gblib/services/GBVMService.ts index 1684e08c..051d234f 100644 --- a/packages/basic.gblib/services/GBVMService.ts +++ b/packages/basic.gblib/services/GBVMService.ts @@ -442,7 +442,7 @@ export class GBVMService extends GBService { const shouldSync = min.core.getParam(min.instance, 'Synchronize Database', false); tableDef.forEach(async t => { - const tableName = t.name.trim().toLowerCase(); + const tableName = t.name.trim(); // Determines autorelationship. diff --git a/packages/basic.gblib/services/SystemKeywords.ts b/packages/basic.gblib/services/SystemKeywords.ts index 34558359..47f9fd6e 100644 --- a/packages/basic.gblib/services/SystemKeywords.ts +++ b/packages/basic.gblib/services/SystemKeywords.ts @@ -2143,9 +2143,9 @@ export class SystemKeywords { const parts = file.split('.'); const con = min[parts[0]]; if (con) { - return con.models[parts[1].toLowerCase()]; + return con.models[parts[1]]; } else { - return minBoot.core.sequelize.models[file.toLowerCase()]; + return minBoot.core.sequelize.models[file]; } }