From 7c87feb5460120bb1b5e42d0131eefb23542d83f Mon Sep 17 00:00:00 2001 From: = Date: Mon, 21 Jul 2025 12:09:55 +0530 Subject: [PATCH] feat: added defaultProduct as null --- .../src/db/migrations/20250718133527_project-unify-revert.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}`)