mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 17:27:16 +00:00
Fix migration to initialize pit projects
This commit is contained in:
@@ -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");
|
const projects = await knex(TableName.Project).where({ version: 3, type: ProjectType.SecretManager }).select("id");
|
||||||
for (const project of projects) {
|
for (const project of projects) {
|
||||||
// eslint-disable-next-line no-await-in-loop
|
// eslint-disable-next-line no-await-in-loop
|
||||||
await folderCommitService.initializeProject(project.id);
|
await folderCommitService.initializeProject(project.id, knex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user