new(kb.gblib): added postgres.
This commit is contained in:
parent
d3ae8dd487
commit
fbedd78c74
2 changed files with 3 additions and 3 deletions
|
@ -442,7 +442,7 @@ export class GBVMService extends GBService {
|
|||
const shouldSync = min.core.getParam<boolean>(min.instance, 'Synchronize Database', false);
|
||||
|
||||
tableDef.forEach(async t => {
|
||||
const tableName = t.name.trim().toLowerCase();
|
||||
const tableName = t.name.trim();
|
||||
|
||||
// Determines autorelationship.
|
||||
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue