mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
[EC-343] Recreate OrganizationView to include UseCustomPermissions column
This commit is contained in:
@ -7,6 +7,21 @@ IF COL_LENGTH('[dbo].[Organization]', 'UseCustomPermissions') IS NULL
|
||||
END
|
||||
GO
|
||||
|
||||
-- Recreate OrganizationView so that it includes the UseCustomPermissions column
|
||||
IF OBJECT_ID('[dbo].[OrganizationView]') IS NOT NULL
|
||||
BEGIN
|
||||
DROP VIEW [dbo].[OrganizationView]
|
||||
END
|
||||
GO
|
||||
|
||||
CREATE VIEW [dbo].[OrganizationView]
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[Organization]
|
||||
GO
|
||||
|
||||
CREATE OR ALTER VIEW [dbo].[OrganizationUserOrganizationDetailsView]
|
||||
AS
|
||||
SELECT
|
||||
|
Reference in New Issue
Block a user