
--Migration_RCCP_20251001_085519.txt
CREATE TABLE [dbo].[DeviceLiveViews] (
    [Id] [uniqueidentifier] NOT NULL DEFAULT newsequentialid(),
    [CreateDate] [datetime] NOT NULL,
    [S3Link] [nvarchar](max),
    [CompanySerial] [nvarchar](max),
    [Channel] [int] NOT NULL,
    [Type] [nvarchar](max),
    CONSTRAINT [PK_dbo.DeviceLiveViews] PRIMARY KEY ([Id])
)
CREATE TABLE [dbo].[EntityRemarkSubEventTypeLinks] (
    [Id] [uniqueidentifier] NOT NULL DEFAULT newsequentialid(),
    [EntityRemarkId] [uniqueidentifier] NOT NULL,
    [SubEventTypeId] [bigint] NOT NULL,
    CONSTRAINT [PK_dbo.EntityRemarkSubEventTypeLinks] PRIMARY KEY ([Id])
)
