@bslau/hmm_prisma_schema 1.15.3 → 1.16.0

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.15.3",
3
+ "version": "1.16.0",
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].[PotMetalPoured] 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
@@ -399,15 +399,16 @@ model PotMetal {
399
399
 
400
400
  /// **POT METAL POURED**
401
401
  ///
402
- /// Provides information about the pot when it is poured.
402
+ /// Provides information about Pot Metal sub-lots when poured.
403
403
  model PotMetalPoured {
404
- id Int @id @default(autoincrement())
405
- isReturnedSteel Boolean @default(false)
406
- mass Float
407
- potMetalId Int
408
- potMetal PotMetal @relation(references: [id], fields: [potMetalId])
409
- createdAt DateTime @default(now())
410
- updatedAt DateTime @updatedAt
404
+ id Int @id @default(autoincrement())
405
+ isReturnedSteel Boolean @default(false)
406
+ mass Float
407
+ steelmakingGradeName String?
408
+ potMetalId Int
409
+ potMetal PotMetal @relation(references: [id], fields: [potMetalId])
410
+ createdAt DateTime @default(now())
411
+ updatedAt DateTime @updatedAt
411
412
  }
412
413
 
413
414
  /// **STATION**