﻿--Migration
ALTER TABLE T_CSATOLMANY ADD C_UTVONAL nvarchar(500) NOT NULL
GO

ALTER TABLE T_CSATOLMANY ALTER COLUMN C_FILESERVICEGUID uniqueidentifier NOT NULL
GO

EXEC dev.uspCreateSchemaViews 'T_CSATOLMANY'
GO

EXEC dev.sp_Global_GenerateAsyncAuditTriggerAll
GO

ALTER QUEUE auditLog.[AuditQueue]
WITH ACTIVATION (
  STATUS = ON,
  PROCEDURE_NAME = auditLog.usp_AuditProcessing,
  MAX_QUEUE_READERS = 10,
  EXECUTE AS 'Kreta_tech_user'
);
GO
