adding close to buildSchema

This commit is contained in:
Martin McKeaveney 2022-04-29 10:47:42 +01:00
parent 2a7fa4d8f7
commit e5df157927
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,8 @@ module PostgresModule {
}
} catch (err) {
tableKeys = {}
} finally {
await this.client.close()
}
const columnsResponse = await this.client.query(this.COLUMNS_SQL)