﻿IF not EXISTS( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Places' AND  COLUMN_NAME = 'Dom_ID_Media')
begin
	alter table dbo.Places Add Dom_ID_Media	int references dbo.domain(ID) null
end