Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Remove not needed pg_advisory_xact_lock lock
Fang-Pen Linfa085945599b
diff --git a/backend/src/auto-start-migrations.ts b/backend/src/auto-start-migrations.tsindex 88f6dea692..a663f18e1e 100644--- a/backend/src/auto-start-migrations.ts+++ b/backend/src/auto-start-migrations.ts@@ -83,8 +83,7 @@ export const runMigrations = async ({ applicationDb, auditLogDb, logger }: TArgs});}- await applicationDb.transaction(async (tx) => {- await tx.raw("SELECT pg_advisory_xact_lock(?)", [PgSqlLock.BootUpMigration]);+ await applicationDb.transaction(async () => {logger.info("Running application migrations.");const didPreviousInstanceRunMigration = !(await applicationDb.migrate