Added unique constraint for source attributes