efiber-prisma-schema 1.7.0 → 1.7.1
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 +1 -1
- package/prisma/schema.prisma +69 -50
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -362,31 +362,32 @@ model User {
|
|
|
362
362
|
workOrderEditLogs WorkOrderEditLog[]
|
|
363
363
|
Notifications Notifications[]
|
|
364
364
|
|
|
365
|
-
pboFatTemplates
|
|
366
|
-
pboFat
|
|
367
|
-
cable
|
|
368
|
-
SpliceClosure
|
|
369
|
-
CableTemplate
|
|
370
|
-
CentralOffice
|
|
371
|
-
centralOfficeId
|
|
372
|
-
Cluster
|
|
373
|
-
clusterId
|
|
374
|
-
projectPhaseLog
|
|
375
|
-
ZoneNro
|
|
376
|
-
Pole
|
|
377
|
-
Manhole
|
|
378
|
-
Loop
|
|
379
|
-
FDTSRO
|
|
380
|
-
SFU
|
|
381
|
-
Building
|
|
382
|
-
SpliceClosureTemplate
|
|
383
|
-
ZoneNroTemplate
|
|
384
|
-
PoleTemplate
|
|
385
|
-
ManholeTemplate
|
|
386
|
-
LoopTemplate
|
|
387
|
-
FDTSROTemplate
|
|
388
|
-
SFUTemplate
|
|
389
|
-
BuildingTemplate
|
|
365
|
+
pboFatTemplates PboFatTemplate[]
|
|
366
|
+
pboFat PboFat[]
|
|
367
|
+
cable Cable[]
|
|
368
|
+
SpliceClosure SpliceClosure[]
|
|
369
|
+
CableTemplate CableTemplate[]
|
|
370
|
+
CentralOffice CentralOffice? @relation(fields: [centralOfficeId], references: [id])
|
|
371
|
+
centralOfficeId String?
|
|
372
|
+
Cluster Cluster? @relation(fields: [clusterId], references: [id])
|
|
373
|
+
clusterId String?
|
|
374
|
+
projectPhaseLog projectPhaseLog[]
|
|
375
|
+
ZoneNro ZoneNro[]
|
|
376
|
+
Pole Pole[]
|
|
377
|
+
Manhole Manhole[]
|
|
378
|
+
Loop Loop[]
|
|
379
|
+
FDTSRO FDTSRO[]
|
|
380
|
+
SFU SFU[]
|
|
381
|
+
Building Building[]
|
|
382
|
+
SpliceClosureTemplate SpliceClosureTemplate[]
|
|
383
|
+
ZoneNroTemplate ZoneNroTemplate[]
|
|
384
|
+
PoleTemplate PoleTemplate[]
|
|
385
|
+
ManholeTemplate ManholeTemplate[]
|
|
386
|
+
LoopTemplate LoopTemplate[]
|
|
387
|
+
FDTSROTemplate FDTSROTemplate[]
|
|
388
|
+
SFUTemplate SFUTemplate[]
|
|
389
|
+
BuildingTemplate BuildingTemplate[]
|
|
390
|
+
integrationProjectUserStatus integrationProjectUserStatus[]
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
model MainProject {
|
|
@@ -435,31 +436,49 @@ model Project {
|
|
|
435
436
|
ReportFormats ReportFormats[]
|
|
436
437
|
platforms Platform[]
|
|
437
438
|
|
|
438
|
-
pboFatTemplates
|
|
439
|
-
pboFat
|
|
440
|
-
cableAttributes
|
|
441
|
-
spliceClosureAttributes
|
|
442
|
-
Cable
|
|
443
|
-
CableTemplate
|
|
444
|
-
CentralOffice
|
|
445
|
-
qrCodeTemplate
|
|
446
|
-
projectPhaseLog
|
|
447
|
-
ZoneNro
|
|
448
|
-
Pole
|
|
449
|
-
Manhole
|
|
450
|
-
Loop
|
|
451
|
-
FDTSRO
|
|
452
|
-
SFU
|
|
453
|
-
Building
|
|
454
|
-
SpliceClosure
|
|
455
|
-
SpliceClosureTemplate
|
|
456
|
-
ZoneNroTemplate
|
|
457
|
-
PoleTemplate
|
|
458
|
-
ManholeTemplate
|
|
459
|
-
LoopTemplate
|
|
460
|
-
FDTSROTemplate
|
|
461
|
-
SFUTemplate
|
|
462
|
-
BuildingTemplate
|
|
439
|
+
pboFatTemplates PboFatTemplate[]
|
|
440
|
+
pboFat PboFat[]
|
|
441
|
+
cableAttributes CableAtttributes[]
|
|
442
|
+
spliceClosureAttributes SpliceClosureAttributes[]
|
|
443
|
+
Cable Cable[]
|
|
444
|
+
CableTemplate CableTemplate[]
|
|
445
|
+
CentralOffice CentralOffice[]
|
|
446
|
+
qrCodeTemplate qrCodeTemplate[]
|
|
447
|
+
projectPhaseLog projectPhaseLog[]
|
|
448
|
+
ZoneNro ZoneNro[]
|
|
449
|
+
Pole Pole[]
|
|
450
|
+
Manhole Manhole[]
|
|
451
|
+
Loop Loop[]
|
|
452
|
+
FDTSRO FDTSRO[]
|
|
453
|
+
SFU SFU[]
|
|
454
|
+
Building Building[]
|
|
455
|
+
SpliceClosure SpliceClosure[]
|
|
456
|
+
SpliceClosureTemplate SpliceClosureTemplate[]
|
|
457
|
+
ZoneNroTemplate ZoneNroTemplate[]
|
|
458
|
+
PoleTemplate PoleTemplate[]
|
|
459
|
+
ManholeTemplate ManholeTemplate[]
|
|
460
|
+
LoopTemplate LoopTemplate[]
|
|
461
|
+
FDTSROTemplate FDTSROTemplate[]
|
|
462
|
+
SFUTemplate SFUTemplate[]
|
|
463
|
+
BuildingTemplate BuildingTemplate[]
|
|
464
|
+
integrationProjectUserStatus integrationProjectUserStatus[]
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
model integrationProjectUserStatus {
|
|
468
|
+
id String @id @unique @default(uuid())
|
|
469
|
+
no Int @default(autoincrement())
|
|
470
|
+
isOnline Boolean @default(false)
|
|
471
|
+
connectedAt DateTime?
|
|
472
|
+
|
|
473
|
+
createdAt DateTime @default(now())
|
|
474
|
+
updatedAt DateTime @updatedAt
|
|
475
|
+
deletedAt DateTime?
|
|
476
|
+
|
|
477
|
+
User User? @relation(fields: [userId], references: [id])
|
|
478
|
+
userId String?
|
|
479
|
+
|
|
480
|
+
Project Project? @relation(fields: [projectId], references: [id])
|
|
481
|
+
projectId String?
|
|
463
482
|
}
|
|
464
483
|
|
|
465
484
|
model projectPhaseLog {
|