efiber-prisma-schema 1.2.9 → 1.2.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efiber-prisma-schema",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1113,12 +1113,13 @@ model Cable {
1113
1113
  id String @id @unique @default(uuid())
1114
1114
  no Int @default(autoincrement())
1115
1115
 
1116
- status String @default("active")
1117
- name String?
1118
- photos Json? //Upload files for photos
1119
- zone Json? //Color code for zone
1120
- geometry Json? //Icon for the cable
1121
- attributes Json? //Attributes for the cable
1116
+ status String @default("active")
1117
+ name String?
1118
+ terminalAccess Boolean @default(false)
1119
+ photos Json? //Upload files for photos
1120
+ zone Json? //Color code for zone
1121
+ geometry Json? //Icon for the cable
1122
+ attributes Json? //Attributes for the cable
1122
1123
 
1123
1124
  createdAt DateTime @default(now())
1124
1125
  updatedAt DateTime @updatedAt
@@ -1142,12 +1143,13 @@ model CableTemplate {
1142
1143
  id String @id @unique @default(uuid())
1143
1144
  no Int @default(autoincrement())
1144
1145
 
1145
- status String @default("active")
1146
- name String?
1147
- photos Json? //Upload files for photos
1148
- zone Json? //Color code for zone
1149
- geometry Json? //Icon for the cable
1150
- attributes Json? //Attributes for the cable
1146
+ status String @default("active")
1147
+ name String?
1148
+ terminalAccess Boolean @default(false)
1149
+ photos Json? //Upload files for photos
1150
+ zone Json? //Color code for zone
1151
+ geometry Json? //Icon for the cable
1152
+ attributes Json? //Attributes for the cable
1151
1153
 
1152
1154
  createdAt DateTime @default(now())
1153
1155
  updatedAt DateTime @updatedAt
@@ -1176,8 +1178,8 @@ model CableAtttributes {
1176
1178
  updatedAt DateTime @updatedAt
1177
1179
  deletedAt DateTime?
1178
1180
 
1179
- cable Cable @relation(fields: [cableId], references: [id])
1180
- cableId String
1181
+ cable Cable? @relation(fields: [cableId], references: [id])
1182
+ cableId String?
1181
1183
 
1182
1184
  project Project? @relation(fields: [projectId], references: [id])
1183
1185
  projectId String?