mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
rebuild org view
This commit is contained in:
parent
0137968e57
commit
04cd4cded4
@ -234,3 +234,17 @@ FROM
|
||||
INNER JOIN
|
||||
[dbo].[Organization] O ON O.[Id] = OU.[OrganizationId]
|
||||
GO
|
||||
|
||||
IF EXISTS(SELECT * FROM sys.views WHERE [Name] = 'OrganizationView')
|
||||
BEGIN
|
||||
DROP VIEW [dbo].[OrganizationView]
|
||||
END
|
||||
GO
|
||||
|
||||
CREATE VIEW [dbo].[OrganizationView]
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[Organization]
|
||||
GO
|
||||
|
Loading…
Reference in New Issue
Block a user