@juliobrim/prisma-shared 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -526,7 +526,7 @@ model Product {
|
|
|
526
526
|
model ProductComponents {
|
|
527
527
|
composedById String
|
|
528
528
|
componentOfId String
|
|
529
|
-
quantity
|
|
529
|
+
quantity Float
|
|
530
530
|
tenantId String?
|
|
531
531
|
componentOf Product @relation("componentOf", fields: [componentOfId], references: [id], onDelete: Cascade)
|
|
532
532
|
composedBy Product @relation("composedBy", fields: [composedById], references: [id], onDelete: Cascade)
|
|
@@ -563,6 +563,9 @@ model ProductionOrder {
|
|
|
563
563
|
flowId String?
|
|
564
564
|
productionOrderIndex Int? @unique
|
|
565
565
|
batchSize Float
|
|
566
|
+
startDate DateTime? @db.Date
|
|
567
|
+
endDate DateTime? @db.Date
|
|
568
|
+
expectedEndDate DateTime? @db.Date
|
|
566
569
|
hasStarted Boolean @default(false)
|
|
567
570
|
isRunning Boolean @default(false)
|
|
568
571
|
isFinished Boolean @default(false)
|