Skip to content

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

feat: added defaultProduct as null

=7c87feb54601
diff --git a/backend/src/db/migrations/20250718133527_project-unify-revert.ts b/backend/src/db/migrations/20250718133527_project-unify-revert.ts
index 4c2bb11376..f61ea3dfc7 100644
--- a/backend/src/db/migrations/20250718133527_project-unify-revert.ts
+++ b/backend/src/db/migrations/20250718133527_project-unify-revert.ts
@@ -13,7 +13,7 @@ const newProject = async (knex: Knex, projectId: string, projectType: ProjectTyp
await knex(TableName.Project).insert({
...project,
type: projectType,
- defaultProduct: projectType,
+ defaultProduct: null,
// @ts-ignore id is required
id: newProjectId,
slug: slugify(`${project?.name}-${alphaNumericNanoId(8)}`)