@bslau/hmm_prisma_schema 1.1.7 → 1.1.8

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.1.7",
3
+ "version": "1.1.8",
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].[HotMetal] ADD [alPucksAdded] BIT NOT NULL CONSTRAINT [HotMetal_alPucksAdded_df] DEFAULT 0;
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
@@ -82,13 +82,13 @@ model HotMetal {
82
82
  massHotMetalAdded Int?
83
83
  desulphurisationComplete Boolean @default(false)
84
84
  containsPunchOut Boolean @default(false)
85
+ alPucksAdded Boolean @default(false)
85
86
  createdAt DateTime @default(now())
86
87
  updatedAt DateTime @updatedAt
87
88
  // name String?
88
89
  // description String?
89
90
  // // TODO: confirm default value
90
91
  // addAlPucks Boolean @default(false)
91
- // alPucksAdded Boolean @default(false)
92
92
  // // [?] Necessary?
93
93
  // // castEndDateTime DateTime
94
94
  // // [?] One to Many or Many to Many