mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
056b4b9bf4
* add api support for updating org identifier * add identifier to response as well * implement in EF repo
21 lines
372 B
Transact-SQL
21 lines
372 B
Transact-SQL
IF OBJECT_ID('[dbo].[Organization_ReadByIdentifier]') IS NOT NULL
|
|
BEGIN
|
|
DROP PROCEDURE [dbo].[Organization_ReadByIdentifier]
|
|
END
|
|
GO
|
|
|
|
CREATE PROCEDURE [dbo].[Organization_ReadByIdentifier]
|
|
@Identifier UNIQUEIDENTIFIER
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
SELECT
|
|
*
|
|
FROM
|
|
[dbo].[OrganizationView]
|
|
WHERE
|
|
[Identifier] = @Identifier
|
|
END
|
|
GO
|