IF NOT EXISTS (SELECT * FROM sys.syscolumns WHERE NAME = 'ConnectionType' AND ID = OBJECT_ID(N'dbo.SessionRecording'))
	ALTER TABLE dbo.SessionRecording ADD ConnectionType INT NULL, HostName NVARCHAR(256) NULL;