mirror of
https://github.com/bitwarden/server.git
synced 2026-02-05 08:33:10 +08:00
Add database support for handling OrganizationConnection migration
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
CREATE OR ALTER PROCEDURE [dbo].[OrganizationIntegration_ReadByOrganizationIdType]
|
||||
@OrganizationId UNIQUEIDENTIFIER,
|
||||
@Type SMALLINT
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[OrganizationIntegrationView]
|
||||
WHERE
|
||||
[OrganizationId] = @OrganizationId
|
||||
AND [Type] = @Type
|
||||
END
|
||||
GO
|
||||
Reference in New Issue
Block a user