efiber-prisma-schema 1.8.1 → 1.8.3
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/migrations/0_init/migration.sql +2856 -0
- package/prisma/migrations_new/0_init/migration.sql +2856 -0
- package/prisma/schema.prisma +8 -4
- /package/prisma/{migrations → migrations_old}/20231209164007_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209192452_country_table/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209194848_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209195140_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209201218_country_update/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209201405_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209213149_camusat_country/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209221814_platform/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209223246_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231209231721_roles/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231210113501_team_and_users/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231210181832_user_update/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231219121311_add_projects/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231219123045_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20231219123850_audit/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20240116090035_/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20240220085809_emails/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20240226075734_update_email_config_and_workorder/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20240227112839_update_email_config/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/20240227124801_work_order_update/migration.sql +0 -0
- /package/prisma/{migrations → migrations_old}/migration_lock.toml +0 -0
package/prisma/schema.prisma
CHANGED
|
@@ -742,6 +742,10 @@ model WorkOrder {
|
|
|
742
742
|
pboFatAttributes PboFatAttributes[]
|
|
743
743
|
PboFat PboFat? @relation(fields: [pboFatId], references: [id])
|
|
744
744
|
pboFatId String?
|
|
745
|
+
SFU SFU? @relation(fields: [sFUId], references: [id])
|
|
746
|
+
sFUId String?
|
|
747
|
+
Building Building? @relation(fields: [buildingId], references: [id])
|
|
748
|
+
buildingId String?
|
|
745
749
|
}
|
|
746
750
|
|
|
747
751
|
model WorkOrderChannel {
|
|
@@ -1248,8 +1252,6 @@ model Cable {
|
|
|
1248
1252
|
|
|
1249
1253
|
cableAttributes CableAtttributes[]
|
|
1250
1254
|
PboFatAttributes PboFatAttributes[]
|
|
1251
|
-
// SpliceClosureAttributes SpliceClosureAttributes[]
|
|
1252
|
-
// qrCode qrCode[]
|
|
1253
1255
|
qrCodeTag qrCodeTag[]
|
|
1254
1256
|
}
|
|
1255
1257
|
|
|
@@ -1931,7 +1933,8 @@ model SFU {
|
|
|
1931
1933
|
installation NetworkElementInstallation? @relation(fields: [installationId], references: [id])
|
|
1932
1934
|
installationId String?
|
|
1933
1935
|
|
|
1934
|
-
qrCodeTag
|
|
1936
|
+
qrCodeTag qrCodeTag[]
|
|
1937
|
+
workOrders WorkOrder[]
|
|
1935
1938
|
}
|
|
1936
1939
|
|
|
1937
1940
|
model SFUTemplate {
|
|
@@ -2004,7 +2007,8 @@ model Building {
|
|
|
2004
2007
|
installation NetworkElementInstallation? @relation(fields: [installationId], references: [id])
|
|
2005
2008
|
installationId String?
|
|
2006
2009
|
|
|
2007
|
-
qrCodeTag
|
|
2010
|
+
qrCodeTag qrCodeTag[]
|
|
2011
|
+
workOrders WorkOrder[]
|
|
2008
2012
|
}
|
|
2009
2013
|
|
|
2010
2014
|
model BuildingTemplate {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/prisma/{migrations → migrations_old}/20240227112839_update_email_config/migration.sql
RENAMED
|
File without changes
|
/package/prisma/{migrations → migrations_old}/20240227124801_work_order_update/migration.sql
RENAMED
|
File without changes
|
|
File without changes
|