Skip to content

Commit 04df80e

Browse files
committed
fix #45
update post deploy with correct column name
1 parent bf35ff2 commit 04df80e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Direct_Framework/DeploymentScripts/3-PostDeployment/omd_metadata.NEXT_RUN_STATUS.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
SET NOCOUNT ON;
1818

1919
DECLARE @tblMerge TABLE(
20-
[NEXT_RUN_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
21-
[NEXT_RUN_STATUS_CODE_DESCRIPTION] NVARCHAR (4000) NULL
20+
[NEXT_RUN_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
21+
[NEXT_RUN_DESCRIPTION] NVARCHAR (4000) NULL
2222
);
2323

24-
INSERT INTO @tblMerge([NEXT_RUN_STATUS_CODE], [NEXT_RUN_STATUS_CODE_DESCRIPTION])
24+
INSERT INTO @tblMerge([NEXT_RUN_STATUS_CODE], [NEXT_RUN_DESCRIPTION])
2525
VALUES
2626
(N'Cancel', N'Administrators can manually set this code to for the Next Run Status (i.e. this will not be automatically set by the DIRECT controls) to force a one-off skip of the instance.'),
2727
(N'Proceed', N'The `Proceed` code will direct the next run of the Batch/Module to continue processing. This is the default value. Each process step will evaluate the Internal Process Status Code and continue only if it was set to `Proceed`. After the rollback has been completed the `Proceed` value is the code that is required to initiate the main process.'),
@@ -32,11 +32,11 @@ USING @tblMerge AS src
3232
ON TARGET.[NEXT_RUN_STATUS_CODE] = src.[NEXT_RUN_STATUS_CODE]
3333
WHEN MATCHED THEN
3434
UPDATE
35-
SET [NEXT_RUN_STATUS_CODE_DESCRIPTION] = src.[NEXT_RUN_STATUS_CODE_DESCRIPTION]
35+
SET [NEXT_RUN_DESCRIPTION] = src.[NEXT_RUN_DESCRIPTION]
3636
WHEN NOT MATCHED THEN
3737
INSERT ([NEXT_RUN_STATUS_CODE]
38-
,[NEXT_RUN_STATUS_CODE_DESCRIPTION])
38+
,[NEXT_RUN_DESCRIPTION])
3939
VALUES ([NEXT_RUN_STATUS_CODE]
40-
,[NEXT_RUN_STATUS_CODE_DESCRIPTION]);
40+
,[NEXT_RUN_DESCRIPTION]);
4141

4242
GO

0 commit comments

Comments
 (0)