Skip to content

Commit 9ecdbf6

Browse files
author
dborowiecki
committed
OTC-8: Fixed brackets in latest migrations
1 parent d934d20 commit 9ecdbf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Migration script/openIMIS migration latest.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5850,7 +5850,7 @@ SELECT @SystemRole = role.RoleID from tblRole role where IsSystem=64; --IMIS Adm
58505850

58515851
INSERT INTO [dbo].[tblRoleRight] ([RoleID], [RightID], [ValidityFrom], [ValidityTo], [AuditUserId], [LegacyID])
58525852
SELECT @SystemRole, RightIDToAdd, CURRENT_TIMESTAMP, NULL, NULL, NULL
5853-
FROM ( values (122000), (122001), (122002), (122003), (122004), (122005)) as RightsToAdd (RightIDToAdd)) -- User Profile Rights
5853+
FROM ( values (122000), (122001), (122002), (122003), (122004), (122005)) as RightsToAdd (RightIDToAdd) -- User Profile Rights
58545854
WHERE NOT EXISTS (SELECT TOP (1) * FROM [dbo].[tblRoleRight] WHERE [RoleID]=@SystemRole AND [RightID]=RightIDToAdd)
58555855
GO
58565856

0 commit comments

Comments
 (0)