diff --git a/backend/src/db/migrations/20250718133527_project-unify-revert.ts b/backend/src/db/migrations/20250718133527_project-unify-revert.ts index 4c2bb1137..f61ea3dfc 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)}`)