Skip to content

Commit 7afca69

Browse files
committed
CR changes for enum and sproc alias
1 parent af10831 commit 7afca69

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Core/Enums/CollectionType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
public enum CollectionType
44
{
5-
Shared,
6-
DefaultUserCollection,
5+
SharedCollection = 0,
6+
DefaultUserCollection = 1,
77
}

src/Sql/dbo/Stored Procedures/Collection_ReadByUserId.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ BEGIN
1414
MIN([ReadOnly]) AS [ReadOnly],
1515
MIN([HidePasswords]) AS [HidePasswords],
1616
MAX([Manage]) AS [Manage],
17-
UserDefaultCollectionEmail,
18-
Type as [Type]
17+
[UserDefaultCollectionEmail],
18+
[Type]
1919
FROM
2020
[dbo].[UserCollectionDetails](@UserId)
2121
GROUP BY

util/Migrator/DbScripts/2025-06-02_01_AddOrgUserDefaultCollection.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ BEGIN
5454
MIN([ReadOnly]) AS [ReadOnly],
5555
MIN([HidePasswords]) AS [HidePasswords],
5656
MAX([Manage]) AS [Manage],
57-
UserDefaultCollectionEmail,
58-
Type as [Type]
57+
[UserDefaultCollectionEmail],
58+
[Type]
5959
FROM
6060
[dbo].[UserCollectionDetails](@UserId)
6161
GROUP BY

0 commit comments

Comments
 (0)