mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
test: revert raw connection to test CI
This commit is contained in:
parent
027e380245
commit
ec9ae96d83
@ -248,8 +248,7 @@ const cleanOrderColumns = async ({ id, attribute, db, inverseRelIds, transaction
|
||||
const joinTableName = addSchema(joinTable.name);
|
||||
|
||||
// raw query as knex doesn't allow updating from a subquery
|
||||
await db
|
||||
.getConnection()
|
||||
await db.connection
|
||||
.raw(
|
||||
`UPDATE ?? as a
|
||||
SET ?? = b.src_order
|
||||
@ -301,8 +300,7 @@ const cleanOrderColumns = async ({ id, attribute, db, inverseRelIds, transaction
|
||||
const joinTableName = addSchema(joinTable.name);
|
||||
|
||||
// raw query as knex doesn't allow updating from a subquery
|
||||
await db
|
||||
.getConnection()
|
||||
await db.connection
|
||||
.raw(
|
||||
`UPDATE ?? as a
|
||||
SET ?? = b.inv_order
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user