Fixing issue introduced in merge, using new native SQL function.
This commit is contained in:
parent
737adfdea9
commit
0a4ee7e308
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class SqlTableQueryBuilder {
|
||||||
const tableName = schemaName
|
const tableName = schemaName
|
||||||
? `${schemaName}.${json.table.name}`
|
? `${schemaName}.${json.table.name}`
|
||||||
: `${json.table.name}`
|
: `${json.table.name}`
|
||||||
const sql = query.toSQL()
|
const sql = getNativeSql(query)
|
||||||
if (Array.isArray(sql)) {
|
if (Array.isArray(sql)) {
|
||||||
for (const query of sql) {
|
for (const query of sql) {
|
||||||
if (query.sql.startsWith("exec sp_rename")) {
|
if (query.sql.startsWith("exec sp_rename")) {
|
||||||
|
|
Loading…
Reference in a new issue