Skip to content

Commit

Permalink
Add quotes for table name (twentyhq#5533)
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
thomtrp committed May 22, 2024
1 parent 4b25181 commit 5448512
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5448512

Please sign in to comment.