1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-23 03:01:23 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]