Index: database/drizzle/queries/builds.ts
===================================================================
--- database/drizzle/queries/builds.ts	(revision 98543934547eec4612872caf60e2c3b4464ff5e9)
+++ database/drizzle/queries/builds.ts	(revision e09fe6ff3ab0ade0c931236df5aa4b711ed8e058)
@@ -495,43 +495,20 @@
 }
 
-export async function addNewBuild(db: Database, userId: number, name: string, description: string, componentIds: number[]) {
-    return db.transaction(async (tx) => {
-        const components = await tx
-            .select({
-                price:  componentsTable.price
-            })
-            .from(componentsTable)
-            .where(
-                inArray(componentsTable.id, componentIds)
-            );
-
-        const totalPrice = components.reduce((sum, c) => sum + Number(c.price), 0);
-
-        const [newBuild] = await tx
-            .insert(buildsTable)
-            .values({
-                userId: userId,
-                name: name,
-                createdAt: new Date().toISOString().split('T')[0],
-                description: description,
-                totalPrice: totalPrice.toFixed(2),
-                isApproved: false
-            })
-            .returning({
-                id: buildsTable.id
-            });
-
-        if(components.length) {
-            await tx.insert(buildComponentsTable)
-                .values(
-                    componentIds.map(componentId => ({
-                        buildId: newBuild.id,
-                        componentId: componentId
-                    }))
-                );
-        }
-
-        return newBuild?.id ?? null;
-    });
+export async function addNewBuild(db: Database, userId: number, name: string, description: string) {
+    const [newBuild] = await db
+        .insert(buildsTable)
+        .values({
+            userId: userId,
+            name: name,
+            createdAt: new Date().toISOString().split('T')[0],
+            description: description,
+            totalPrice: Number(0).toFixed(2),
+            isApproved: false
+        })
+        .returning({
+            id: buildsTable.id
+        });
+
+    return newBuild?.id ?? null;
 }
 
