1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Add migration script to rebuild OrganizationView (#2127)

This commit is contained in:
Thomas Rittson
2022-07-19 23:10:44 +10:00
committed by GitHub
parent 8c0996efec
commit 75960d6e6d

View 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]