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
Fix migration to initialize pit projects
carlosmonastyrski5712c2437072
diff --git a/backend/src/db/migrations/20250507185010_pit-projects-commits-initialization.ts b/backend/src/db/migrations/20250507185010_pit-projects-commits-initialization.tsindex c5b2f80687..f3e5c9e7ea 100644--- a/backend/src/db/migrations/20250507185010_pit-projects-commits-initialization.ts+++ b/backend/src/db/migrations/20250507185010_pit-projects-commits-initialization.ts@@ -13,7 +13,7 @@ export async function up(knex: Knex): Promise<void> {const projects = await knex(TableName.Project).where({ version: 3, type: ProjectType.SecretManager }).select("id");for (const project of projects) {// eslint-disable-next-line no-await-in-loop- await folderCommitService.initializeProject(project.id);+ await folderCommitService.initializeProject(project.id, knex);}}}