Browse Source

Add migration script to rebuild OrganizationView (#2127)

pull/2129/head
Thomas Rittson 3 years ago committed by GitHub
parent
commit
75960d6e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      util/Migrator/DbScripts/2022-07-19_00_FixUseScimFlag.sql

13
util/Migrator/DbScripts/2022-07-19_00_FixUseScimFlag.sql

@ -0,0 +1,13 @@ @@ -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…
Cancel
Save