
--Migration_RCCP_20250811_085554.txt
CREATE TABLE [dbo].[EventSubEventTypeLinks] (
    [Id] [bigint] NOT NULL IDENTITY,
    [EventId] [bigint] NOT NULL,
    [SubEventTypeId] [bigint] NOT NULL,
    CONSTRAINT [PK_dbo.EventSubEventTypeLinks] PRIMARY KEY ([Id])
)
CREATE TABLE [dbo].[SubEventTypes] (
    [Id] [bigint] NOT NULL IDENTITY,
    [Name] [nvarchar](max),
    [MainEventTypeId] [bigint] NOT NULL,
    CONSTRAINT [PK_dbo.SubEventTypes] PRIMARY KEY ([Id])
)
