1
0
mirror of https://github.com/bitwarden/server synced 2026-01-17 07:53:36 +00:00

[Provider] Setup provider (#1378)

This commit is contained in:
Oscar Hinton
2021-06-30 09:35:26 +02:00
committed by GitHub
parent 08f508f536
commit 43f7271147
85 changed files with 1810 additions and 113 deletions

View File

@@ -0,0 +1,15 @@
CREATE VIEW [dbo].[ProviderUserUserDetailsView]
AS
SELECT
PU.[Id],
PU.[UserId],
PU.[ProviderId],
U.[Name],
ISNULL(U.[Email], PU.[Email]) Email,
PU.[Status],
PU.[Type],
PU.[Permissions]
FROM
[dbo].[ProviderUser] PU
LEFT JOIN
[dbo].[User] U ON U.[Id] = PU.[UserId]