
--Migration_RCCP_20250604_164248.txt
ALTER TABLE [dbo].[PlannedDevicePlots] ADD [CustomSettings] [nvarchar](max)
ALTER TABLE [dbo].[PlannedFloorPlans] ADD [LastUpdatedUtcDateTime] [datetime]
DECLARE @var0 nvarchar(128)
SELECT @var0 = name
FROM sys.default_constraints
WHERE parent_object_id = object_id(N'dbo.DevicePlots')
AND col_name(parent_object_id, parent_column_id) = 'CustomSettings';
IF @var0 IS NOT NULL
    EXECUTE('ALTER TABLE [dbo].[DevicePlots] DROP CONSTRAINT [' + @var0 + ']')
ALTER TABLE [dbo].[DevicePlots] DROP COLUMN [CustomSettings]
