Skip to content

Commit

Permalink
fixing missing table error
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Nov 27, 2024
1 parent 6708807 commit e67a326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/postgres/postgres-driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ WHERE

const tableKey = column.table_schema + "." + column.table_name;

const tableSchema = tableRecord[tableKey].tableSchema;
const tableSchema = tableRecord[tableKey]?.tableSchema;
if (tableSchema) {
tableSchema.columns.push(columnItem);
}
Expand Down

0 comments on commit e67a326

Please sign in to comment.