﻿IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'otherProperties' AND  COLUMN_NAME = 'Dom_ID_Type')
begin
	alter table dbo.otherProperties add Dom_ID_Type	int references dbo.Domain (ID) null
end