Skip to content

Commit

Permalink
Revert "fix: prevent using absolute table path in migrations unless r…
Browse files Browse the repository at this point in the history
…equired (typeorm#10123)"

This reverts commit dd59524.
  • Loading branch information
alumni committed Jan 11, 2024
1 parent 15de46f commit ce58813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/sap/SapQueryRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ export class SapQueryRunner extends BaseQueryRunner implements QueryRunner {
protected escapePath(target: Table | View | string): string {
const { schema, tableName } = this.driver.parseTableName(target)

if (schema && schema !== this.driver.schema) {
if (schema) {
return `"${schema}"."${tableName}"`
}

Expand Down

0 comments on commit ce58813

Please sign in to comment.