1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

Fixing issue introduced in merge, using new native SQL function.

This commit is contained in:
mike12345567 2024-04-08 18:29:06 +01:00
parent 737adfdea9
commit 0a4ee7e308

View file

@ -247,7 +247,7 @@ class SqlTableQueryBuilder {
const tableName = schemaName
? `${schemaName}.${json.table.name}`
: `${json.table.name}`
const sql = query.toSQL()
const sql = getNativeSql(query)
if (Array.isArray(sql)) {
for (const query of sql) {
if (query.sql.startsWith("exec sp_rename")) {