@bslau/hmm_prisma_schema 1.21.0 → 1.21.2

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": "@bslau/hmm_prisma_schema",
3
- "version": "1.21.0",
3
+ "version": "1.21.2",
4
4
  "main": "index.js",
5
5
  "author": "CIPA Development Team",
6
6
  "license": "ISC",
@@ -0,0 +1,19 @@
1
+ BEGIN TRY
2
+
3
+ BEGIN TRAN;
4
+
5
+ -- AlterTable
6
+ ALTER TABLE [dbo].[PotMetal] ADD [hmWeight] INT;
7
+
8
+ COMMIT TRAN;
9
+
10
+ END TRY
11
+ BEGIN CATCH
12
+
13
+ IF @@TRANCOUNT > 0
14
+ BEGIN
15
+ ROLLBACK TRAN;
16
+ END;
17
+ THROW
18
+
19
+ END CATCH
@@ -394,6 +394,7 @@ model PotMetal {
394
394
  potMetalPouredCollection PotMetalPoured[]
395
395
  potId Int
396
396
  pot Pot @relation(references: [id], fields: [potId])
397
+ hmWeight Int?
397
398
  createdAt DateTime @default(now())
398
399
  updatedAt DateTime @updatedAt
399
400
  }
package/prisma/seed.ts CHANGED
@@ -487,6 +487,7 @@ async function main() {
487
487
  { name: "OVERRIDDEN", label: "Overridden" },
488
488
  { name: "TORPEDO_REJECTED", label: "Rejected" },
489
489
  { name: "TORPEDO_UPDATED", label: "Data Update" },
490
+ { name: "TIMER", label: "Timer" },
490
491
  ],
491
492
  });
492
493