Skip to content

Commit ca1628b

Browse files
fix(sql): refresh Organization-dependent views after column addition
1 parent 06f2787 commit ca1628b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

util/Migrator/DbScripts/2026-04-10_01_AddExemptFromBillingAutomation.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,3 +428,10 @@ SELECT
428428
[ExemptFromBillingAutomation]
429429
FROM
430430
[dbo].[Organization]
431+
GO
432+
433+
EXEC sp_refreshview N'[dbo].[OrganizationCipherDetailsCollectionsView]';
434+
EXEC sp_refreshview N'[dbo].[OrganizationUserOrganizationDetailsView]';
435+
EXEC sp_refreshview N'[dbo].[ProviderOrganizationOrganizationDetailsView]';
436+
EXEC sp_refreshview N'[dbo].[ProviderUserProviderOrganizationDetailsView]';
437+
EXEC sp_refreshview N'[dbo].[UserPremiumAccessView]';

0 commit comments

Comments
 (0)