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