1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-10 04:14:41 -05:00

Added get for sso config repo by revision date (#878)

This commit is contained in:
Chad Scharf
2020-08-19 13:35:17 -04:00
committed by GitHub
parent 80f57d22a7
commit 8884157427
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,14 @@
CREATE PROCEDURE [dbo].[SsoConfig_ReadManyByNotBeforeRevisionDate]
@NotBefore DATETIME2(7)
AS
BEGIN
SET NOCOUNT ON
SELECT
*
FROM
[dbo].[SsoConfigView]
WHERE
[Enabled] = 1
AND [RevisionDate] >= COALESCE(@NotBefore, [RevisionDate]);
END