Skip to content

Commit 1006d7d

Browse files
authored
partial index for user district
1 parent f9ca246 commit 1006d7d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Migration script/openIMIS migration v1.4.2 - 1.5.0.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,3 +1994,9 @@ BEGIN
19941994

19951995
END
19961996
GO
1997+
-- partial index for user district
1998+
CREATE NONCLUSTERED INDEX NCI_A_tblUsersDistricts
1999+
ON [dbo].[tblUsersDistricts] ([UserID],[LocationId])
2000+
WHERE ValidityTo is null
2001+
GO
2002+

0 commit comments

Comments
 (0)