1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-12 20:20:37 +01:00

[EC-1055] [Tech Debt/Bug] Sql.sqlproj is missing sprocs (#2664)

* [EC-1055] fix: add missing sprocs to sqlproj

* [EC-1055] fix: remove duplicate sproc
This commit is contained in:
Andreas Coroiu 2023-02-08 10:39:40 +01:00 committed by GitHub
parent d32cd79535
commit e3fdb2636b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 13 deletions

View File

@ -128,22 +128,29 @@
<Build Include="dbo\Stored Procedures\CollectionGroup_ReadByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\CollectionUser_Delete.sql" />
<Build Include="dbo\Stored Procedures\CollectionUser_ReadByCollectionId.sql" />
<Build Include="dbo\Stored Procedures\CollectionUser_ReadByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\CollectionUser_ReadByOrganizationUserIds.sql" />
<Build Include="dbo\Stored Procedures\CollectionUser_UpdateUsers.sql" />
<Build Include="dbo\Stored Procedures\Collection_Create.sql" />
<Build Include="dbo\Stored Procedures\Collection_CreateWithGroups.sql" />
<Build Include="dbo\Stored Procedures\Collection_CreateWithGroupsAndUsers.sql" />
<Build Include="dbo\Stored Procedures\Collection_DeleteById.sql" />
<Build Include="dbo\Stored Procedures\Collection_DeleteByIds.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadById.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadByIdUserId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadByIds.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadByUserId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadCountByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsAndUsersById.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsAndUsersByIdUserId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsAndUsersByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsAndUsersByUserId.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsById.sql" />
<Build Include="dbo\Stored Procedures\Collection_ReadWithGroupsByIdUserId.sql" />
<Build Include="dbo\Stored Procedures\Collection_Update.sql" />
<Build Include="dbo\Stored Procedures\Collection_UpdateWithGroups.sql" />
<Build Include="dbo\Stored Procedures\Collection_UpdateWithGroupsAndUsers.sql" />
<Build Include="dbo\Stored Procedures\Device_ClearPushTokenById.sql" />
<Build Include="dbo\Stored Procedures\Device_Create.sql" />
<Build Include="dbo\Stored Procedures\Device_DeleteById.sql" />

View File

@ -1,13 +0,0 @@
CREATE PROCEDURE [dbo].[Event_ReadById]
@Id UNIQUEIDENTIFIER
AS
BEGIN
SET NOCOUNT ON
SELECT
*
FROM
[dbo].[Event]
WHERE
[Id] = @Id
END