if not exists (select * FROM sys.syscolumns where name = 'SortPriority' AND id = object_id(N'dbo.ConnectionHandbookHistory'))
	alter table dbo.ConnectionHandbookHistory add
        SortPriority int null,
        IsDefault bit null;