@bslau/hmm_prisma_schema 1.17.2 → 1.18.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.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "CIPA Development Team",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
},
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"prisma": "6.2.1",
|
|
23
24
|
"@prisma/client": "6.2.1"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@types/node": "^22.12.0",
|
|
27
|
-
"prisma": "6.2.1",
|
|
28
28
|
"@types/underscore": "^1.13.0",
|
|
29
29
|
"ts-node": "^10.9.2",
|
|
30
30
|
"tsx": "^4.19.2",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
BEGIN TRY
|
|
2
|
+
|
|
3
|
+
BEGIN TRAN;
|
|
4
|
+
|
|
5
|
+
-- AlterTable
|
|
6
|
+
ALTER TABLE [dbo].[HotMetal] ADD [segmentResponseId] 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
|
package/prisma/schema.prisma
CHANGED
|
@@ -268,6 +268,7 @@ model HotMetal {
|
|
|
268
268
|
alPucksAdded Boolean @default(false)
|
|
269
269
|
integrationStage Int @default(0)
|
|
270
270
|
pourStatus Int @default(0)
|
|
271
|
+
segmentResponseId String?
|
|
271
272
|
hotMetalState HotMetalState? @relation(fields: [hotMetalStateId], references: [id])
|
|
272
273
|
hotMetalStateId Int?
|
|
273
274
|
hotMetalPouredCollection HotMetalPoured[]
|