From 1c6f9c64df76d234d8b5ea8b9fcbaf818f07d7f8 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 25 Feb 2026 00:49:56 -0800 Subject: [PATCH] fix: remove unmigrated fields from provision endpoint Skip visibility/isPublic and ownerDid - the Prisma schema has columns that don't exist in the production DB yet. Let DB defaults handle it. Co-Authored-By: Claude Opus 4.6 --- src/app/api/internal/provision/route.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/api/internal/provision/route.ts b/src/app/api/internal/provision/route.ts index 5340448..27584f3 100644 --- a/src/app/api/internal/provision/route.ts +++ b/src/app/api/internal/provision/route.ts @@ -33,7 +33,6 @@ export async function POST(request: Request) { name: space.charAt(0).toUpperCase() + space.slice(1), slug: space, description: body.description || `${space} governance space`, - isPublic: body.public ?? false, members: { create: { userId: user.id,