efiber-prisma-schema 1.2.10 → 1.2.12

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.10",
3
+ "version": "1.2.12",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1113,13 +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?
1116
+ status String @default("active")
1117
+ name String?
1118
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
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
1123
1123
 
1124
1124
  createdAt DateTime @default(now())
1125
1125
  updatedAt DateTime @updatedAt
@@ -1143,13 +1143,13 @@ model CableTemplate {
1143
1143
  id String @id @unique @default(uuid())
1144
1144
  no Int @default(autoincrement())
1145
1145
 
1146
- status String @default("active")
1147
- name String?
1146
+ status String @default("active")
1147
+ name String?
1148
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
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
1153
1153
 
1154
1154
  createdAt DateTime @default(now())
1155
1155
  updatedAt DateTime @updatedAt
@@ -1173,13 +1173,14 @@ model CableAtttributes {
1173
1173
  name String
1174
1174
  description String?
1175
1175
  value String?
1176
+ visibleOnMobile String?
1176
1177
 
1177
1178
  createdAt DateTime @default(now())
1178
1179
  updatedAt DateTime @updatedAt
1179
1180
  deletedAt DateTime?
1180
1181
 
1181
- cable Cable @relation(fields: [cableId], references: [id])
1182
- cableId String
1182
+ cable Cable? @relation(fields: [cableId], references: [id])
1183
+ cableId String?
1183
1184
 
1184
1185
  project Project? @relation(fields: [projectId], references: [id])
1185
1186
  projectId String?