mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00

* [EC-427] Add columns 'Type' and 'BillingPhone' to Provider table * [EC-427] Provider table Type and BillingPhone MySql migrations * [EC-427] Provider table Type and BillingPhone Postgres migrations * [EC-427] Add mysql migration script * [EC-427] Add mysql migration script * [EC-427] Updated Provider sql script to include default column value * [EC-427] Removed default value from Provider.Type column * [EC-427] Changed migration script to include a default value constraint instead of updating the null type * [EC-427] Updated Sql project Provider table script * [EC-427] Changed migration script to use 'Create OR Alter' for views and sprocs * [EC-427] Added default values for 'BillingPhone' and 'Type' fields on sprocs [dbo].[Provider_Create] and [dbo].[Provider_Update] * [EC-427] Adjusting metadata in migration script * [EC-427] Updated Provider sprocs SQL script files * [EC-427] Fixed migration script * [EC-427] Added sqlite migration * [EC-427] Add missing Provider_Update sproc default value * [EC-427] Added missing GO action to migration script * [EC-428] Redirect to Edit after creating Provider * Revert "[EC-428] Redirect to Edit after creating Provider" This reverts commit 6347bca1ed85681710379dbffc09e25b99b93ae6.
19 lines
372 B
Transact-SQL
19 lines
372 B
Transact-SQL
CREATE VIEW [dbo].[ProviderUserProviderDetailsView]
|
|
AS
|
|
SELECT
|
|
PU.[UserId],
|
|
PU.[ProviderId],
|
|
P.[Name],
|
|
PU.[Key],
|
|
PU.[Status],
|
|
PU.[Type],
|
|
P.[Enabled],
|
|
PU.[Permissions],
|
|
P.[UseEvents],
|
|
P.[Status] ProviderStatus,
|
|
P.[Type] ProviderType
|
|
FROM
|
|
[dbo].[ProviderUser] PU
|
|
LEFT JOIN
|
|
[dbo].[Provider] P ON P.[Id] = PU.[ProviderId]
|