diff --git a/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/distant-table/distant-table.service.ts b/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/distant-table/distant-table.service.ts index 20d5fb7cbec6..7aefdbf253e6 100644 --- a/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/distant-table/distant-table.service.ts +++ b/packages/twenty-server/src/engine/metadata-modules/remote-server/remote-table/distant-table/distant-table.service.ts @@ -75,7 +75,7 @@ export class DistantTableService { await entityManager.query(`CREATE SCHEMA "${tmpSchemaName}"`); const tableLimitationsOptions = tableName - ? ` LIMIT TO (${tableName})` + ? ` LIMIT TO ("${tableName}")` : ''; await entityManager.query(