efiber-prisma-schema 1.16.0 → 1.16.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efiber-prisma-schema",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Database schema for eFiber",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,7 @@
1
+ -- AlterTable
2
+ ALTER TABLE "Cable" ADD COLUMN "isSubcable" BOOLEAN NOT NULL DEFAULT false,
3
+ ADD COLUMN "parentCableId" TEXT,
4
+ ADD COLUMN "parentCableName" TEXT;
5
+
6
+ -- AddForeignKey
7
+ ALTER TABLE "Cable" ADD CONSTRAINT "Cable_parentCableId_fkey" FOREIGN KEY ("parentCableId") REFERENCES "Cable"("id") ON DELETE SET NULL ON UPDATE CASCADE;
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "Conduit" ADD COLUMN "namePrefix" TEXT;
@@ -1664,6 +1664,8 @@ model Conduit {
1664
1664
  updatedAt DateTime @updatedAt
1665
1665
  deletedAt DateTime?
1666
1666
 
1667
+ namePrefix String?
1668
+
1667
1669
  asBuiltCoordinates Json? //As built coordinates
1668
1670
  isInstalled Boolean @default(false)
1669
1671
  installationDate DateTime?