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