mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Add migration script to rebuild OrganizationView (#2127)
This commit is contained in:
parent
8c0996efec
commit
75960d6e6d
13
util/Migrator/DbScripts/2022-07-19_00_FixUseScimFlag.sql
Normal file
13
util/Migrator/DbScripts/2022-07-19_00_FixUseScimFlag.sql
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
-- Recreate OrganizationView so that it includes the UseScim 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]
|
Loading…
x
Reference in New Issue
Block a user