title: Naming a relation in Doctrine 2 ORM?
body: <p>How can i set the name of the foreign key (<strong>edit</strong>: not the name of the attribute itself) for the many-to-one relation "region" using YAML?</p>
  
  <pre><code>SWA\TestBundle\Entity\Province:
    type: entity
    table: province
    uniqueConstraints:
      UNIQUE_PROVINCE_CODE:
        columns: code
    id:
      id:
        type: integer
        generator: { strategy: AUTO }
    fields:
      code:
        type: integer
      name:
        type: string
        length: 255
      short_name:
        type: string
        length: 2
    manyToOne:
      region:
        targetEntity: Region
        inversedBy: provinces
  </code></pre>