
--Migration_RCCP_20241125_175532.txt
ALTER TABLE [dbo].[Users] ADD [IsDemoAccount] [bit] NOT NULL DEFAULT 0
ALTER TABLE [dbo].[SiteFootfallConfigurations] ADD [EntityId] [nvarchar](max)
DECLARE @var0 nvarchar(128)
SELECT @var0 = name
FROM sys.default_constraints
WHERE parent_object_id = object_id(N'dbo.SiteFootfallConfigurations')
AND col_name(parent_object_id, parent_column_id) = 'EntityTypeId';
IF @var0 IS NOT NULL
    EXECUTE('ALTER TABLE [dbo].[SiteFootfallConfigurations] DROP CONSTRAINT [' + @var0 + ']')
ALTER TABLE [dbo].[SiteFootfallConfigurations] DROP COLUMN [EntityTypeId]
