diff --git a/packages/nocodb/src/lib/db/sql-client/lib/pg/PgClient.ts b/packages/nocodb/src/lib/db/sql-client/lib/pg/PgClient.ts index d4cd492d2c..eb05e4800f 100644 --- a/packages/nocodb/src/lib/db/sql-client/lib/pg/PgClient.ts +++ b/packages/nocodb/src/lib/db/sql-client/lib/pg/PgClient.ts @@ -474,7 +474,7 @@ class PGClient extends KnexClient { ]); } - const schemaName = this.connectionConfig.searchPath?.[0] || 'public' + const schemaName = this.connectionConfig.searchPath?.[0] || 'public'; // Check schemaExists because `CREATE SCHEMA IF NOT EXISTS` requires permissions of `CREATE ON DATABASE` const schemaExists = !!(