@bslau/hmm_prisma_schema 1.23.0 → 1.23.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": "@bslau/hmm_prisma_schema",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
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].[HotMetalMass] ADD [steelmakingGradeName] NVARCHAR(1000);
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
@@ -316,14 +316,15 @@ model HotMetalLabResult {
316
316
  /// for. The intent is that these records form a history of a _HotMetal_
317
317
  /// batch's mass alterations (whatever that may have been).
318
318
  model HotMetalMass {
319
- id Int @id @default(autoincrement())
320
- mass Float
321
- hotMetalId Int
322
- hotMetal HotMetal @relation(references: [id], fields: [hotMetalId])
323
- hotMetalMassType HotMetalMassType @relation(fields: [hotMetalMassTypeId], references: [id], onDelete: NoAction, onUpdate: Cascade)
324
- hotMetalMassTypeId Int
325
- createdAt DateTime @default(now())
326
- updatedAt DateTime @updatedAt
319
+ id Int @id @default(autoincrement())
320
+ mass Float
321
+ steelmakingGradeName String?
322
+ hotMetalId Int
323
+ hotMetal HotMetal @relation(references: [id], fields: [hotMetalId])
324
+ hotMetalMassType HotMetalMassType @relation(fields: [hotMetalMassTypeId], references: [id], onDelete: NoAction, onUpdate: Cascade)
325
+ hotMetalMassTypeId Int
326
+ createdAt DateTime @default(now())
327
+ updatedAt DateTime @updatedAt
327
328
  }
328
329
 
329
330
  /// **HOT METAL MASS TYPE**