Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: used tx instead of knex

Sheen Capadngan78510aee8ef6
diff --git a/backend/src/db/migrations/20251028160921_delete-no-org-identities.ts b/backend/src/db/migrations/20251028160921_delete-no-org-identities.ts
index c38b623803..0eb0e7ae0b 100644
--- a/backend/src/db/migrations/20251028160921_delete-no-org-identities.ts
+++ b/backend/src/db/migrations/20251028160921_delete-no-org-identities.ts
@@ -19,7 +19,7 @@ export async function up(knex: Knex): Promise<void> {
});
}
} finally {
- await knex.raw(`SET statement_timeout = '${originalTimeout}'`);
+ await tx.raw(`SET statement_timeout = '${originalTimeout}'`);
}
});
}