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
|
@@ -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;
|
package/prisma/schema.prisma
CHANGED