diff --git a/backend/prisma/seed.ts b/backend/prisma/seed.ts index ab9b4dc..c1964a4 100644 --- a/backend/prisma/seed.ts +++ b/backend/prisma/seed.ts @@ -288,8 +288,6 @@ async function main() { // DEMO BATCHES // ============================================ const owner = await prisma.user.findUnique({ where: { email: ownerEmail } }); - const flowerRoom = await prisma.facilityRoom.findFirst({ where: { code: 'FLO' } }); - const vegRoom = await prisma.facilityRoom.findFirst({ where: { code: 'VEG' } }); const demoBatches = [ { @@ -299,8 +297,7 @@ async function main() { status: 'ACTIVE', plantCount: 48, source: 'CLONE', - stage: 'FLOWERING', - roomId: flowerRoom?.id + stage: 'FLOWERING' }, { name: 'B-2025-12-KM', @@ -319,8 +316,7 @@ async function main() { status: 'ACTIVE', plantCount: 24, source: 'SEED', - stage: 'VEGETATIVE', - roomId: vegRoom?.id + stage: 'VEGETATIVE' } ];