mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52: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
|
END
|
||||||
GO
|
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]
|
CREATE OR ALTER VIEW [dbo].[OrganizationUserOrganizationDetailsView]
|
||||||
AS
|
AS
|
||||||
SELECT
|
SELECT
|
||||||
|
Reference in New Issue
Block a user