
--Migration_RCCP_20260129_164354.txt
CREATE TABLE [dbo].[ActualImageEntityLinks] (
    [Id] [uniqueidentifier] NOT NULL DEFAULT newsequentialid(),
    [EntityType] [nvarchar](max),
    [EntityId] [nvarchar](max),
    [ActualImageId] [uniqueidentifier] NOT NULL,
    [CreatedUtcDateTime] [datetime],
    [UserId] [bigint],
    [Name] [nvarchar](max),
    CONSTRAINT [PK_dbo.ActualImageEntityLinks] PRIMARY KEY ([Id])
)
ALTER TABLE [dbo].[ActualImages] ADD [EntityType] [nvarchar](max)
ALTER TABLE [dbo].[ActualImages] ADD [EntityId] [nvarchar](max)
DROP TABLE [dbo].[ActualImagePlotLinks]
