diff --git a/frontend/packages/db-structure/src/parser/sql/postgresql/converter.ts b/frontend/packages/db-structure/src/parser/sql/postgresql/converter.ts index a115cb156..6a69106e1 100644 --- a/frontend/packages/db-structure/src/parser/sql/postgresql/converter.ts +++ b/frontend/packages/db-structure/src/parser/sql/postgresql/converter.ts @@ -339,13 +339,6 @@ export const convertToDBStructure = (stmts: RawStmt[]): DBStructure => { } } - if (!stmts) { - return { - tables: {}, - relationships: {}, - } - } - for (const statement of stmts) { if (statement?.stmt === undefined) continue