1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00

Opening connection for building schema.

This commit is contained in:
mike12345567 2022-05-20 17:43:47 +01:00
parent a23e4efd8c
commit 5f8cfcdb5c

View file

@ -208,6 +208,7 @@ module PostgresModule {
*/
async buildSchema(datasourceId: string, entities: Record<string, Table>) {
let tableKeys: { [key: string]: string[] } = {}
await this.openConnection()
try {
const primaryKeysResponse = await this.client.query(
this.PRIMARY_KEYS_SQL