if not exists(select 1 from sys.syscolumns where name = N'StorageType' and id = object_id(N'dbo.SessionRecording'))
    alter table dbo.SessionRecording add StorageType int not null constraint DF_SessionRecording_StorageType default (0);