@bslau/hmm_prisma_schema 1.8.1 → 1.8.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/README.md
CHANGED
|
@@ -35,7 +35,7 @@ The workaround is to manually execute these steps after release. This example de
|
|
|
35
35
|
|
|
36
36
|
- Open a bash terminal and navigate to the installed package:
|
|
37
37
|
|
|
38
|
-
`
|
|
38
|
+
`C:\inetpub\wwwroot\hmm\graphql_server\node_modules\@bslau\hmm_prisma_schema`
|
|
39
39
|
|
|
40
40
|
- Apply any pending migrations: `npm run prisma:deploy`
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
BEGIN TRY
|
|
2
|
+
|
|
3
|
+
BEGIN TRAN;
|
|
4
|
+
|
|
5
|
+
-- AlterTable
|
|
6
|
+
ALTER TABLE [dbo].[HotMetal] ADD [pourStatus] INT NOT NULL CONSTRAINT [HotMetal_pourStatus_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
|
package/prisma/schema.prisma
CHANGED