
--Migration_RCCP_20250813_082349.txt
CREATE TABLE [dbo].[CompanyAccessibleAppPages] (
    [Id] [bigint] NOT NULL IDENTITY,
    [CompanyId] [bigint] NOT NULL,
    [PageId] [nvarchar](max),
    [AppType] [int] NOT NULL,
    [IsDefaultPage] [bit] NOT NULL,
    CONSTRAINT [PK_dbo.CompanyAccessibleAppPages] PRIMARY KEY ([Id])
)
ALTER TABLE [dbo].[SubEventTypes] ADD [CompanyId] [bigint] NOT NULL DEFAULT 0
